kenhuuu commented on code in PR #2983:
URL: https://github.com/apache/tinkerpop/pull/2983#discussion_r1919410827


##########
gremlin-server/src/main/java/org/apache/tinkerpop/gremlin/server/util/GremlinError.java:
##########
@@ -86,6 +87,11 @@ public static GremlinError binding(final String aliased) {
         return new GremlinError(HttpResponseStatus.BAD_REQUEST, message, 
"InvalidRequestException");
     }
 
+    public static GremlinError parsing(final GremlinParserException error) {
+        final String message = String.format(error.getMessage());

Review Comment:
   Nit: this line probably not needed.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to