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

properly handle echo http wrapped errors #288

Merged
merged 1 commit into from
Sep 13, 2024
Merged

Commits on Sep 11, 2024

  1. properly handle echo http wrapped errors

    Errors may be wrapped by a specific echo http error by a handler.
    In some cases (such as canceled context) this might report as a 500
    error, however this error might've been triggered by the requestor.
    
    To simplify handling this scenario, we will unwrap the http error,
    preserving the original message only if the error is a context canceled
    error and the request context has been canceled.
    
    Signed-off-by: Mike Mason <[email protected]>
    mikemrm committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    ebe5c46 View commit details
    Browse the repository at this point in the history