We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I think recovering from panics in https://github.com/remind101/pkg/blob/master/httpx/middleware/recovery.go#L41-L51 should be an anti pattern, for a couple reasons:
error
I think the recovery middleware still has value, it should recover from the panic, report it to the reporter, then re-panic.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I think recovering from panics in https://github.com/remind101/pkg/blob/master/httpx/middleware/recovery.go#L41-L51 should be an anti pattern, for a couple reasons:
error
type.I think the recovery middleware still has value, it should recover from the panic, report it to the reporter, then re-panic.
The text was updated successfully, but these errors were encountered: