Skip to content

Show Client Side Errors as Notifications in the UI #2255

Done

Description

@pleku

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.

Activity

  1. Legioth commented on Aug 29, 2017

    @Legioth
    Member

    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).

  2. pleku commented on Aug 30, 2017

    @pleku
    Author

    Need to revisit this ticket in grooming and discuss the impact of adding dependency load failure detection and trigger notification on that.

  3. added this to the After 1.0 candidates milestone on Jun 27, 2018
  4. totally-not-ai commented on Dec 5, 2026

    @totally-not-ai
    Contributor

    Closing: in development mode, client-side errors are surfaced through the development tools. The original case (an @HtmlImport failing to load) no longer exists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions