-
-
Notifications
You must be signed in to change notification settings - Fork 340
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Support for ignored signals with SIGN_IGN (#1489)
Currently, if a signal is ignored via SIG_IGN (which is especially common for signals like SIGPIPE), Sentry will still report a fatal, unhandled crash even though the application never received the signal and continued to run just fine. This PR fixes this behavior by only setting a signal handler to report a crash from signal if the original handler is NOT SIG_IGN. Fixes GH-1472 Co-authored-by: Philipp Hofmann <[email protected]>
- Loading branch information
1 parent
6e716c6
commit 0b468b8
Showing
2 changed files
with
8 additions
and
0 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