You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by GitBox <gi...@apache.org> on 2022/06/21 19:44:15 UTC
[GitHub] [tinkerpop] curtiscook opened a new pull request, #1730: Adds status_message as a property on GremlinServerError
curtiscook opened a new pull request, #1730:
URL: https://github.com/apache/tinkerpop/pull/1730
AWS Neptune uses a JSON error object for its status message with error details. This PR allows end-users to directly access the status message returned by AWS, so they can deserialize the JSON and access AWS's error message fields
Example Neptune Response
```
GremlinServerError
500: {"detailedMessage":"Failed to complete Insert operation for a Vertex due to conflicting concurrent operations. Please retry. 0 transactions are currently rolling back.","code":"ConcurrentModificationException","requestId":"b163032b-0c78-444b-9d80-07eacd88b74f"}
```
--
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-unsubscribe@tinkerpop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [tinkerpop] divijvaidya commented on a diff in pull request #1730: [TINKERPOP-2764] Adds status_message as a property on GremlinServerError
Posted by GitBox <gi...@apache.org>.
divijvaidya commented on code in PR #1730:
URL: https://github.com/apache/tinkerpop/pull/1730#discussion_r908193310
##########
CHANGELOG.asciidoc:
##########
@@ -20,6 +20,10 @@ limitations under the License.
image::https://raw.githubusercontent.com/apache/tinkerpop/master/docs/static/images/gremlin-sleeping-beauty.png[width=185]
+==== Improvements
+
+* TINKERPOP-2764 Adds status_message as a property on GremlinServerError
Review Comment:
Another small change is required here. Instead of adding to the Improvements section here (which we populate at the time of the release with JIRAs), please add this line to the `=== TinkerPop 3.5.4 (Release Date: NOT OFFICIALLY RELEASED YET)` section below.
Would you also consider changing the changelog message to "Expose error message sent by the server as a property on GremlinServerError for gremlin-python"
--
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-unsubscribe@tinkerpop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [tinkerpop] spmallette closed pull request #1730: [TINKERPOP-2764] Adds status_message as a property on GremlinServerError
Posted by GitBox <gi...@apache.org>.
spmallette closed pull request #1730: [TINKERPOP-2764] Adds status_message as a property on GremlinServerError
URL: https://github.com/apache/tinkerpop/pull/1730
--
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-unsubscribe@tinkerpop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [tinkerpop] spmallette commented on pull request #1730: [TINKERPOP-2764] Adds status_message as a property on GremlinServerError
Posted by GitBox <gi...@apache.org>.
spmallette commented on PR #1730:
URL: https://github.com/apache/tinkerpop/pull/1730#issuecomment-1168944157
merged with: 04f47d242010a8cf91931b5bbec7732e5c142596 - thank you!
--
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-unsubscribe@tinkerpop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [tinkerpop] divijvaidya commented on pull request #1730: Adds status_message as a property on GremlinServerError
Posted by GitBox <gi...@apache.org>.
divijvaidya commented on PR #1730:
URL: https://github.com/apache/tinkerpop/pull/1730#issuecomment-1163389110
Thank you for submitting your first patch to TinkerPop 🥳. Looks like a reasonable change to me.
Couple of comments:
1. Can you please associate this change with a JIRA? You can find the information here: https://tinkerpop.apache.org/docs/current/dev/developer/#_contributing_code_changes
2. Please add test coverage for this change. Perhaps a good place would be here: https://github.com/apache/tinkerpop/blob/master/gremlin-python/src/main/python/tests/driver/test_client.py#L78
3. Please add an entry in `CHANGELOG.asciidoc` as mentioned in the link in point 1 above.
--
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-unsubscribe@tinkerpop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [tinkerpop] divijvaidya commented on pull request #1730: [TINKERPOP-2764] Adds status_message as a property on GremlinServerError
Posted by GitBox <gi...@apache.org>.
divijvaidya commented on PR #1730:
URL: https://github.com/apache/tinkerpop/pull/1730#issuecomment-1168942571
Thanks for making the change @curtiscook. Looks good to me. Vote +1.
--
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-unsubscribe@tinkerpop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org