web: disable showReportDialog
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
13a8ad3126
commit
6ea83edd9f
|
@ -35,17 +35,6 @@ export function configureSentry(canDoPpi: boolean = false): Promise<Config> {
|
||||||
if (hint.originalException instanceof Response) {
|
if (hint.originalException instanceof Response) {
|
||||||
return null;
|
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;
|
return event;
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
Reference in New Issue