-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
async stack traces #2703
Comments
The was also the constructor issue: class DenoError extends Error {
constructor() {
super();
}
}
const error = new DenoError;
console.log(error.stack);
throw error;
There seem to just be general discrepancies between |
@Nayeem-Rahman let's handle that one separately in #2710 ... I suspect there are two different problems, and #2710 is easier. |
Okay, two stack traces are captured by The first is captured by The second is captured by
|
Done in #2820? |
@bartlomieju No, that just ensures This is about the stack trace printed by Deno when aborting on an uncaught error. The one we currently get from V8 isn't the same one that @ry These should be one issue: Use the same stack trace as |
Fixes: #2703 Fixes: #2710 Closes: #4153 Closes: #4232 Co-authored-by: Kevin (Kun) Kassimo Qian <[email protected]>
This is very important. It prevents error stack traces for asynchronous ops from reaching the faulting user code.
The text was updated successfully, but these errors were encountered: