Skip to content

[Feature] Use Error#cause to show the cause of an error when an exception occurs in framework code #20890

Open
@NullVoxPopuli

Description

@NullVoxPopuli

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error/cause

For example, when something occurs in backburner, perhaps we can do a little bit of unwravelling when to get the stack when printing.

Some errors may not be doable due to scheduled actions, but maybe it's worth keeping track of that as an opt in? (what are perf implications? (and what is the difference between that an existing backburner.debug?))

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