Skip to content

Emitr shouldn't silently swallow errors in user code #10

@dchambers

Description

@dchambers

Emitr catches errors thrown by listener code, so that an error in one listener doesn't prevent other listeners from receiving the same event. Unfortunately, this prevents developers from becoming aware of errors within their code. Instead, emitr should log any errors to the console with code like this:

if(window.console) console.error(e);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions