This is an automated email from the ASF dual-hosted git repository.
colegreer pushed a commit to branch 3.7-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git
The following commit(s) were added to refs/heads/3.7-dev by this push:
new b8f7c24789 TINKERPOP-2647 improved plugin error message in Gremlin
Console (#3160)
b8f7c24789 is described below
commit b8f7c24789aa266c67f78dc4625d7a92bd15680c
Author: nnmva <[email protected]>
AuthorDate: Mon Jul 21 20:42:24 2025 -0400
TINKERPOP-2647 improved plugin error message in Gremlin Console (#3160)
---
CHANGELOG.asciidoc | 1 +
.../main/groovy/org/apache/tinkerpop/gremlin/console/Console.groovy | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/CHANGELOG.asciidoc b/CHANGELOG.asciidoc
index 6244b2a3a1..069d52abff 100644
--- a/CHANGELOG.asciidoc
+++ b/CHANGELOG.asciidoc
@@ -26,6 +26,7 @@
image::https://raw.githubusercontent.com/apache/tinkerpop/master/docs/static/ima
* Fixed bug in server `Settings` where it was referencing a property that was
back in 3.3.0 and generating a warning log.
* Improved performance of `Traversal.lock()` which was being called
excessively.
* Added log entry in `WsAndHttpChannelizerHandler` to catch general errors
that escape the handlers.
+* Improved invalid plugin error message in Gremlin Console.
* Added a `MessageSizeEstimator` implementation to cover `Frame` allowing
Gremlin Server to better estimate message sizes for the direct buffer.
* Fixed bug in Gremlin Console for field accessor issue with JDK17.
* Improved logging around triggers of the `writeBufferHighWaterMark` so that
they occur more than once but do not excessively fill the logs.
diff --git
a/gremlin-console/src/main/groovy/org/apache/tinkerpop/gremlin/console/Console.groovy
b/gremlin-console/src/main/groovy/org/apache/tinkerpop/gremlin/console/Console.groovy
index d9b342c358..972bf06ffd 100644
---
a/gremlin-console/src/main/groovy/org/apache/tinkerpop/gremlin/console/Console.groovy
+++
b/gremlin-console/src/main/groovy/org/apache/tinkerpop/gremlin/console/Console.groovy
@@ -158,7 +158,8 @@ class Console {
if (!io.quiet)
io.out.println(Colorizer.render(Preferences.infoColor,
"plugin activated: " + pluggedIn.getPlugin().getName()))
} else if (!io.quiet) {
- io.out.println(Colorizer.render(Preferences.infoColor,
"invalid plugin: " + pluginName))
+ io.out.println(Colorizer.render(Preferences.infoColor,
"invalid plugin: " + pluginName + " -- removing reference to this plugin."))
+
}
}