-
Notifications
You must be signed in to change notification settings - Fork 2
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
Custom message not shown on Production mode #81
Comments
In worked that way until 3.7.0 ErrorWindowAddon/src/main/java/com/flowingcode/vaadin/addons/errorwindow/ErrorWindow.java Lines 304 to 316 in 3502b48
In version 4.0.0 the method was refactored as ErrorWindowAddon/src/main/java/com/flowingcode/vaadin/addons/errorwindow/ErrorWindow.java Lines 306 to 318 in 16fd293
|
The default error handler initializes You can configure a custom ErrorWindowFactory for a given exception class (and initialize the error window there as you see fit) ErrorWindowAddon/src/main/java/com/flowingcode/vaadin/addons/errorwindow/ErrorManager.java Lines 79 to 82 in 24aae5a
Alternatively, you can provide custom "instructions" and open ErrorWindowAddon/src/test/java/com/flowingcode/vaadin/addons/errorwindow/ErrorwindowDemo.java Lines 75 to 92 in 24aae5a
|
The constructor |
Maybe we could deprecate that constructor to emphasize that. |
Describe the bug
On production mode, the error window is not showing the custom message that was set, just the error code.
Expected behavior
No response
Minimal reproducible example
On the demo, setting production mode and clicking Throw Error with custom message
Add-on Version
4.0.1
Vaadin Version
24
Additional information
No response
The text was updated successfully, but these errors were encountered: