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

fix(ServerCalls): Fix regression in Status cause for exceptions thrown by implementations #456

Merged
merged 4 commits into from
Nov 16, 2023

Conversation

andrewparmet
Copy link
Contributor

@andrewparmet andrewparmet commented Nov 15, 2023

Ensures that Statuses derived from StatusExceptions and StatusRuntimeExceptions match their behavior before #400. This is also grpc-java's behavior when onError is called with a StatusException or StatusRuntimeException.

Fixes #455.

Copy link

linux-foundation-easycla bot commented Nov 15, 2023

CLA Signed

The committers listed above are authorized under a signed CLA.

@andrewparmet andrewparmet changed the title fix(ServerCalls): Fix regression in Status cause for Status exceptions thrown by implementations fix(ServerCalls): Fix regression in Status cause for exceptions thrown by implementations Nov 15, 2023
@jamesward jamesward requested a review from lowasser November 15, 2023 21:52
@jamesward
Copy link
Collaborator

Thanks for doing this so quick and including tests! As soon as @lowasser can review, we will get this merged and a new release rolled.

@jamesward jamesward merged commit 11c517d into grpc:master Nov 16, 2023
7 of 8 checks passed
@andrewparmet andrewparmet deleted the fix-status-cause-regression branch November 16, 2023 20:34
@jamesward
Copy link
Collaborator

I'm rolling the 1.4.1 release now. Thanks again @andrewparmet for the quick fix and thank you @zakhenry and @lowasser for the reviews!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Status cause is replaced when it shouldn't be
4 participants