add error handler

This commit is contained in:
2024-12-17 09:43:36 +01:00
parent 02e1ecfe82
commit c6c2c5abb7
3 changed files with 18 additions and 2 deletions

8
src/app/ErrorHandler.ts Normal file
View File

@ -0,0 +1,8 @@
import {ErrorHandler as NgErrorHandler} from "@angular/core";
export class ErrorHandler implements NgErrorHandler {
handleError(error: any): void {
console.warn(error);
}
}