web: attempt to drop fetch errors
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
5b9e6bed6c
commit
7c9f821bfd
|
@ -34,6 +34,9 @@ export function configureSentry(canDoPpi: boolean = false): Promise<Config> {
|
||||||
if ((hint.originalException as Error | undefined)?.name == 'NetworkError') {
|
if ((hint.originalException as Error | undefined)?.name == 'NetworkError') {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
if ((hint.originalException as Error | undefined)?.name.includes("fetch")) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (hint.originalException instanceof Response || hint.originalException instanceof DOMException) {
|
if (hint.originalException instanceof Response || hint.originalException instanceof DOMException) {
|
||||||
return null;
|
return null;
|
||||||
|
|
Reference in New Issue