web: improve failed request handling

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-08-21 14:17:31 +02:00
parent 02c736d784
commit 93e27d1959
2 changed files with 3 additions and 1 deletions

View File

@ -32,7 +32,7 @@ export function configureSentry(canDoPpi: boolean = false): Promise<Config> {
return null;
}
}
if (hint.originalException instanceof Response) {
if (hint.originalException instanceof Response || hint.originalException instanceof DOMException) {
return null;
}
if (event.exception) {