You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Show Client Side Errors as Notifications in the UI #2255
When adding web components to my app, I want to get visible error messages from missing resources, so that I can quickly discover my errors or missing dependencies
We should override Console.error and make those visible to the developer when using development mode, while also then triggering the original native function.
Using the same error notification as for Session Expired etc. messages.
I just tested that at least chrome doesn't pass the browser's own 404 log messages through console.error, which means that this feature wouldn't have helped in the case from which this discussion started.
We would in addition also need to make DependencyLoader make more loud noises when any dependency fails to load (in development mode).
Closing: in development mode, client-side errors are surfaced through the development tools. The original case (an @HtmlImport failing to load) no longer exists.
Activity
Legioth commentedon Aug 29, 2017
I just tested that at least chrome doesn't pass the browser's own 404 log messages through
console.error, which means that this feature wouldn't have helped in the case from which this discussion started.We would in addition also need to make
DependencyLoadermake more loud noises when any dependency fails to load (in development mode).pleku commentedon Aug 30, 2017
Need to revisit this ticket in grooming and discuss the impact of adding dependency load failure detection and trigger notification on that.
totally-not-ai commentedon Dec 5, 2026
Closing: in development mode, client-side errors are surfaced through the development tools. The original case (an
@HtmlImportfailing to load) no longer exists.