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 panic when servers return a wrapped error with status OK #6374

Merged
merged 1 commit into from Jul 5, 2023

Commits on Jun 28, 2023

  1. Fix panic when servers return a wrapped error with status OK

    When wrapping an error that has a gRPC status, we reuse the underlying status message field and put
    the error message in there. If the returned gRPC status is nil, then there is a nil dereference of
    the status Message field.
    
    This change fixes this behavior by returning Unknown status and the error message when the wrapped
    error has status OK.
    atollena committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    9453254 View commit details
    Browse the repository at this point in the history