diff --git a/web/src/api/Sentry.ts b/web/src/api/Sentry.ts index fc3310e51..84dc572a4 100644 --- a/web/src/api/Sentry.ts +++ b/web/src/api/Sentry.ts @@ -35,6 +35,17 @@ export function configureSentry(canDoPpi: boolean = false): Promise { if (hint.originalException instanceof Response) { return null; } + if (event.exception) { + me().then(user => { + Sentry.showReportDialog({ + eventId: event.event_id, + user: { + email: user.user.email, + name: user.user.name, + } + }); + }); + } return event; }, });