Skip to content

Error reporting: could an error in E.on('xyz', ...) report that in the stack #2658

@gfwilliams

Description

@gfwilliams

As the title...

E.on("xyz", function() {
  throw new Error("Oh no");
});

reports:

Uncaught Error: Oh no
    at :1:24
throw new Error("Oh no");

could it report:

Uncaught Error: Oh no
    at :1:24
throw new Error("Oh no");
    called from E.on("xyz") handler

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