may fix 819

This commit is contained in:
André Michelle
2026-03-20 20:06:14 +01:00
parent 27fdf4b5d0
commit 1351fccb30
@@ -84,6 +84,11 @@ export class ErrorHandler {
}
if (!(event instanceof PromiseRejectionEvent)) {return false}
const {reason} = event
if (reason instanceof Error && IgnoredErrors.some(ignored => reason.message.includes(ignored))) {
console.warn(reason.message)
event.preventDefault()
return true
}
if (Errors.isAbort(reason)) {
console.debug(`Abort '${reason.message}'`)
event.preventDefault()