2 Answer(s)
-
0
You can override error handlers via the angular DI system.
This is the component that shows a modal or redirect to the page. https://github.com/abpframework/abp/blob/dev/npm/ng-packs/packages/theme-shared/src/lib/handlers/error.handler.ts
It should not be necessary. Maybe there is another option. Instead of overriding the error handler, I am searching for a better alternative. due to the size of the ErrorHandler class. The override could be challenging. In any case. The Error handler codes were refactored in the 7.4 branch. it split small chunks.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
You can override error handlers via the angular DI system.
This is the component that shows a modal or redirect to the page. https://github.com/abpframework/abp/blob/dev/npm/ng-packs/packages/theme-shared/src/lib/handlers/error.handler.ts
It should not be necessary. Maybe there is another option. Instead of overriding the error handler, I am searching for a better alternative. due to the size of the ErrorHandler class. The override could be challenging. In any case. The Error handler codes were refactored in the 7.4 branch. it split small chunks.
I have tested. it has already fixed in v7.2 . It will be released as the first patch version.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
