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

feat: allow Notify to receive *http.Request #54

Merged
merged 1 commit into from
Sep 16, 2024

Conversation

rykov
Copy link
Contributor

@rykov rykov commented Sep 14, 2024

Status

READY

Description

The library provides an http.Handler wrapper to populate panic notices with *http.Request metadata. However, the extraction of that metadata is not exposed via a public API. We have our own panic/recovery middleware, and including request metadata extraction in the API would be a welcome simplification for capturing panics in an HTTP server environment.

Todos

  • Tests
  • Documentation
  • Changelog Entry (unreleased)

@rykov rykov force-pushed the request-extra branch 2 times, most recently from 5046808 to 13a3114 Compare September 14, 2024 11:04
@stympy stympy changed the title Added support for *http.Request notice extra feat: allow Notify to receive *http.Request Sep 16, 2024
Copy link
Member

@stympy stympy left a comment

Choose a reason for hiding this comment

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

This looks great, thanks!

@stympy stympy merged commit b0d2af0 into honeybadger-io:master Sep 16, 2024
2 of 3 checks passed
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.

2 participants