Skip to content

Commit b8f7c24

Browse files
authored
TINKERPOP-2647 improved plugin error message in Gremlin Console (#3160)
1 parent f9245f1 commit b8f7c24

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.asciidoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ image::https://raw.githubusercontent.com/apache/tinkerpop/master/docs/static/ima
2626
* Fixed bug in server `Settings` where it was referencing a property that was back in 3.3.0 and generating a warning log.
2727
* Improved performance of `Traversal.lock()` which was being called excessively.
2828
* Added log entry in `WsAndHttpChannelizerHandler` to catch general errors that escape the handlers.
29+
* Improved invalid plugin error message in Gremlin Console.
2930
* Added a `MessageSizeEstimator` implementation to cover `Frame` allowing Gremlin Server to better estimate message sizes for the direct buffer.
3031
* Fixed bug in Gremlin Console for field accessor issue with JDK17.
3132
* Improved logging around triggers of the `writeBufferHighWaterMark` so that they occur more than once but do not excessively fill the logs.

gremlin-console/src/main/groovy/org/apache/tinkerpop/gremlin/console/Console.groovy

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,8 @@ class Console {
158158
if (!io.quiet)
159159
io.out.println(Colorizer.render(Preferences.infoColor, "plugin activated: " + pluggedIn.getPlugin().getName()))
160160
} else if (!io.quiet) {
161-
io.out.println(Colorizer.render(Preferences.infoColor, "invalid plugin: " + pluginName))
161+
io.out.println(Colorizer.render(Preferences.infoColor, "invalid plugin: " + pluginName + " -- removing reference to this plugin."))
162+
162163
}
163164
}
164165

0 commit comments

Comments
 (0)