diff --git a/src/app/core/error-handler/global-error-handler.class.ts b/src/app/core/error-handler/global-error-handler.class.ts index 4abf4fb87..ef6901d96 100644 --- a/src/app/core/error-handler/global-error-handler.class.ts +++ b/src/app/core/error-handler/global-error-handler.class.ts @@ -22,6 +22,12 @@ export class GlobalErrorHandler implements ErrorHandler { // TODO Cleanup this mess async handleError(err: unknown): Promise { const errStr = typeof err === 'string' ? err : String(err); + // Suppress known error NG03402 which often happens when exiting the app while an animation is running + if (errStr.includes('NG03402')) { + Log.warn('Suppressing NG03402 error:', err); + return; + } + // eslint-disable-next-line let simpleStack = ''; if (