vaadin / observability-kit

Other
5 stars 2 forks source link

Add details for resource loading error in FrontendError instrumentation #197

Closed mcollovati closed 1 year ago

mcollovati commented 1 year ago

Currently, the FrontendError instrumentation provides detail information for JavaScript errors, but it does not help much to identify resource loading errors because an error message is not present in the event.

In such cases, we should generate an error message based on target property, for example the XPath to the image that failed to load.