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

ref: Don't call beforeSend for internal minidump #273

Merged
merged 2 commits into from
Nov 4, 2020
Merged

Conversation

HazAT
Copy link
Member

@HazAT HazAT commented Nov 4, 2020

No description provided.

@HazAT HazAT self-assigned this Nov 4, 2020
Comment on lines +155 to +158
{
data: {
__sentry__: true,
},
Copy link
Member Author

Choose a reason for hiding this comment

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

if an event has this in the hint, we will not invoke beforeSend.

Copy link
Member

Choose a reason for hiding this comment

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

Do we even need the __INTERNAL_MINIDUMP then?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes we do, this __sentry__ is used internally if our SDK captures something itself.
The __INTERNAL_MINIDUMP, while being a workaround is something else.

@HazAT HazAT merged commit c62e739 into master Nov 4, 2020
@HazAT HazAT deleted the ref/sentry-internal branch November 4, 2020 12:22
@vyunikov
Copy link

Posted my comment in #249
Does it ever gets called in case of a crash in main process?

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.

None yet

3 participants