redirecting runtime exceptions (red exclamation mark) to dedicated error pa

Hi,

it’s kinda neat when you get shown those red exclamation marks and can mouseover to see the runtime exception that caused them. but it’s also pretty hard to read the stack trace in that small mouseover window, and pretty much impossible to screen shot a whole stack trace to send to a support technician for example.

so my question is, is there a way to generally redirect those runtime exceptions and display them on a dedicated page that is easier to read and/or to make screen shots of?

best regards
Mario

Hi Mario,

have a look here https://vaadin.com/docs/v8/framework/application/application-errors.html

At “Handling Uncaught Exceptions” you have an example of how to caught these errors and display them in a way that fits your use case.

You could for example store the stack trace, redirect the user to another page and display the stack trace there or simply show it in a popup window.

I’ll have a look at that. Thank you!

I got it working. Thanks again!