You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Provide a link to the affected event from your Sentry account
Versions + Platform
SDK version - @sentry/electron@v3.0.7
Electron version - electron@v16.0.10
Platform - Windows
Description
As in title - if you supply a beforeSend function then the default SentryMinidump integration will not correctly fill in the scope on the event when sending a crash report.
Versions + Platform
@sentry/electron@v3.0.7
electron@v16.0.10
Windows
Description
As in title - if you supply a
beforeSend
function then the default SentryMinidump integration will not correctly fill in the scope on the event when sending a crash report.This may be intentional, but I couldn't find docs stating this. The problematic line is this one - https://github.com/getsentry/sentry-electron/blob/master/src/main/integrations/sentry-minidump/index.ts#L234
which instead of giving the
beforeSend
function thenewEvent
that has been filled with scope, it passes the originalevent
.Fixing should be trivially to pass
newEvent
tobeforeSend
(we have patched this in locally and it seems to be working in the way we expect).The text was updated successfully, but these errors were encountered: