-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Log stacks of imported JS functions that throw but aren't marked catch
#1466
Conversation
I haven't actually tested this yet, so lets see what CI says... |
Looks like an example from CI is:
aren't those two stack traces the same though? I think the first is from logging the error object |
Fixed it up so it should be more robust now and also logs the import function name:
|
Hm I'm not entirely sure why CI failed, want to repush and see if it retriggers? |
…tch` Particularly useful in our tests, where we don't have the regular console logging with post-facto object inspection, and instead need to provide all this info up front.
Oops forgot to merge this once it went green! |
Particularly useful in our tests, where we don't have the regular console logging with post-facto object inspection, and instead need to provide all this info up front.