Skip to content
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

Add cause to GRPCStatus.processingError for uncaught errors #1356

Merged
merged 3 commits into from
Feb 9, 2022

Conversation

simonjbeaumont
Copy link
Collaborator

#1290 and #1306 added a cause field to GRPCStatus to help understand the underlying error.

This patch adds the cause to GRPCStatus.processingError which is the status returned when there is an uncaught error when handling requests.

Signed-off-by: Si Beaumont <beaumont@apple.com>
Signed-off-by: Si Beaumont <beaumont@apple.com>
@glbrntt glbrntt added the 🆕 semver/minor Adds new public API. label Feb 9, 2022
Signed-off-by: Si Beaumont <beaumont@apple.com>
Copy link
Collaborator

@glbrntt glbrntt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks Si!

@glbrntt glbrntt merged commit 7dc737b into grpc:main Feb 9, 2022
bimawa pushed a commit to StreamLayer/grpc-swift that referenced this pull request Jun 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🆕 semver/minor Adds new public API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants