Skip to content

Commit

Permalink
minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Cole-Greer committed Jan 17, 2025
1 parent 6eb0091 commit 2ee16ea
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,7 @@ public static GremlinError binding(final String aliased) {
}

public static GremlinError parsing(final GremlinParserException error) {
final String message = String.format(error.getMessage());
return new GremlinError(HttpResponseStatus.BAD_REQUEST, message, "MalformedQueryException");
return new GremlinError(HttpResponseStatus.BAD_REQUEST, error.getMessage(), "MalformedQueryException");
}

// execution errors
Expand Down

0 comments on commit 2ee16ea

Please sign in to comment.