Hi
Can this issue referenced above be backported to the 7.2.2 release as it is causing us some issues and we can't override the Error Handling class.
Thanks
Phil
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.
-
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.