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


##########
gremlin-server/src/main/java/org/apache/tinkerpop/gremlin/server/handler/HttpGremlinEndpointHandler.java:
##########
@@ -295,6 +296,9 @@ private GremlinError formErrorResponseMessage(Throwable t, 
RequestMessage reques
             logger.warn(error.getMessage());
             return error;
         }
+        if (t instanceof GremlinParserException) {
+            return GremlinError.parsing(requestMessage.getGremlin());

Review Comment:
   GremlinParserException has a useful message that probably should get 
included in the response message.



-- 
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: commits-unsubscr...@tinkerpop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to