-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hooks for customizing behavior on system errors #4534
Comments
Is this the same as #801 which causes exceptions to go to |
I'm not sure I understand your comment. |
Depends on if you are talking about a client or a server side exception. For server side exceptions, they would be routed to the same For client side exceptions you would need something else, on the client side. |
It is possible to replace |
Is there any other mechanism to prevent the div from being displayed even if I am in development mode? Analyzing the code of version 2.7.13 I see that if "registry.getApplicationConfiguration().isProductionMode()" is true the div is not displayed. I understand that creating a 'custom flow client' maven project could make the project unstable. |
If there is an exception thrown by a custom component the system will treat that as an unrecoverable error and it will be handled internally by the SystemErrorHandler class. The SystemErrorHandler will create a client side element which informs the end user that they need to refresh the ui.
We wish to customize this element as well as add server side logic that logs unrecoverable errors to our helpdesk system. However as far as I can see there is no ability to hook into the SystemErrorHandler.
The text was updated successfully, but these errors were encountered: