-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrapping exceptions thrown in custom serializers as a CosmosException with StatusCode 400 #40797
Wrapping exceptions thrown in custom serializers as a CosmosException with StatusCode 400 #40797
Conversation
… with StatusCode 400
API change check API changes are not detected in this pull request. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - thanks! Would require a CHANGELOG addition as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM on the latest changes.
Description
This PR ensures that any exceptions thrown from custom serializers are wrapped in a CosmosException with Status Code 400
All SDK Contribution checklist:
General Guidelines and Best Practices
Testing Guidelines