You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/04/07 12:29:41 UTC
[jira] [Commented] (TINKERPOP-1044) ResponseMessage should contain
server-side exception name.
[ https://issues.apache.org/jira/browse/TINKERPOP-1044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15960687#comment-15960687 ]
ASF GitHub Bot commented on TINKERPOP-1044:
-------------------------------------------
GitHub user spmallette opened a pull request:
https://github.com/apache/tinkerpop/pull/598
TINKERPOP-1044 Include more error information in remote exceptions
https://issues.apache.org/jira/browse/TINKERPOP-1044
Adds both the remote stacktrace and exception hierarchy to `ResponseException` for the driver and to the JSON payload in the HTTP protocol. Deprecates the "Exception-Class" in the HTTP protocol.
All tests pass with `docker/build.sh -t -n -i`
VOTE +1
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/apache/tinkerpop TINKERPOP-1044
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/tinkerpop/pull/598.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #598
----
commit b29bab0acada54aa525184935d96b41f9cf0854b
Author: Stephen Mallette <sp...@genoprime.com>
Date: 2017-04-06T21:55:39Z
TINKERPOP-1044 Additional error data to Gremlin Server responses
Applies to all protocols: http, nio, and websocket. Added stack trace and exception hierarchy. Deprecated the "Exception-Class" in the http protocol.
commit c33069cecd227dff664a02330a8462efce32e121
Author: Stephen Mallette <sp...@genoprime.com>
Date: 2017-04-06T22:10:08Z
TINKERPOP-1044 Added documentation for additional error info in ResponseMessage
----
> ResponseMessage should contain server-side exception name.
> ----------------------------------------------------------
>
> Key: TINKERPOP-1044
> URL: https://issues.apache.org/jira/browse/TINKERPOP-1044
> Project: TinkerPop
> Issue Type: Improvement
> Components: server
> Affects Versions: 3.1.0-incubating
> Reporter: Bob Briody
> Assignee: stephen mallette
> Priority: Minor
>
> When an exception occurs during execution by gremlin server, the ResponseMessage currently contains the Exception message, but it would also be helpful to include the Exception class name.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)