Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Pass correct event to beforeSend
  • Loading branch information
timfish committed May 11, 2022
commit 0623fb04335b35344e98a5980279cdcaa6af2ae8
2 changes: 1 addition & 1 deletion src/main/integrations/sentry-minidump/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ export class SentryMinidump implements Integration {
}

if (newEvent && beforeSend) {
const beforeSendResult = await this._ensureBeforeSendRv(beforeSend(event));
const beforeSendResult = await this._ensureBeforeSendRv(beforeSend(newEvent));

if (beforeSendResult === null) {
logger.warn('`beforeSend` returned `null`, will not send event.');
Expand Down