-
-
Notifications
You must be signed in to change notification settings - Fork 159
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
ref(on_crash): follow-up to make on_crash releasable #734
Merged
Merged
Changes from 1 commit
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
982ad4d
ref(on_crash): follow-up to make on_crash releasable
supervacuus 8fbc890
fix(ci): again a breaking update of virtual-environment
supervacuus 2200a93
fix(ci): mark unused parameters in example callbacks
supervacuus a6ef7ec
Add current PR to CHANGELOG
supervacuus 48609f8
Add crashpad integration tests and fix immediate issues in backend.
supervacuus 21264e3
Cleanup crashpad integration tests.
supervacuus 98fce5a
Enable crashpad integration tests on windows
supervacuus 2a9b097
Make sure _exit() is found on all Linux compilers.
supervacuus ae306a3
Make static checker happy again
supervacuus 7b9010c
Free event in inproc handler when on_crash hook discards it.
supervacuus 3fc6160
Adapt on_crash to use the before_send event pass-through
supervacuus 5c04de8
Forgot to stage adapted example.c
supervacuus 30064f5
Update CONTRIBUTING.md with added example parameters.
supervacuus File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -113,8 +113,8 @@ sentry__breakpad_backend_callback( | |
|
||
if (should_handle) { | ||
sentry_value_t event = sentry_value_new_event(); | ||
sentry_envelope_t *envelope | ||
= sentry__prepare_event(options, event, NULL); | ||
sentry_envelope_t *envelope = sentry__prepare_event( | ||
options, event, nullptr, !options->on_crash_func); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. without informing |
||
// the event we just prepared is empty, | ||
// so no error is recorded for it | ||
sentry__record_errors_on_current_session(1); | ||
|
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
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
0.5.0 or 0.4.19? Moving the sampling to the end of the pre-processing (in #729), thereby executing
before_send()
unconditionally, could be considered a breaking change. I am fine either way.