emberjs / emberjs/ember.js

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

Open
#20,890 0 comments 2 reactions 0 assignees View on GitHub
Proposed Feature
Dominant language
TypeScript
Stars
22.6k
Forks
4.2k
Avg merge
3d 12h
Merged PRs (30d)
15

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.