Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support X-Debug header that sends sentry report.
As a precaution, the header is only respected from a trusted ip address. This provides a secure way to to targeted diagnostic debugging. This change also reintroduced the X-Sentry-Id header, as I figured out how to include that when possible. It's not possible to do so for soft timeouts, as we don't know until after the request is sent. Nor for errors that occur after headers have been sent.
- Loading branch information
Simon Davy
committed
Dec 20, 2019
1 parent
f13d51e
commit e6d1445
Showing
6 changed files
with
177 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.