Do you want to request a feature or report a bug?
feature
What is the current behavior?
try {
somethingThatThrows();
} catch (innerError) {
let error = new Error('something failed!');
error.cause = innerError;
throw error;
}
With the current behavior only the outer/wrapping Error is shown in the stack trace.
What is the desired behavior?
It would be great if the inner Error was also displayed in the stacktrace view, roughly similar to how it is done for Java and Python.
I'm happy to help implement this with a bit of guidance :)
- does the serverside need changes or does it already support this due to support in Java?
- what changes to the submitted payload are necessary?
Do you want to request a feature or report a bug?
feature
What is the current behavior?
With the current behavior only the outer/wrapping
Erroris shown in the stack trace.What is the desired behavior?
It would be great if the inner
Errorwas also displayed in the stacktrace view, roughly similar to how it is done for Java and Python.I'm happy to help implement this with a bit of guidance :)