-
Notifications
You must be signed in to change notification settings - Fork 9
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
errors have wrong callstack #69
Comments
Thank you for the report, @BryanCrotaz ! |
@BryanCrotaz Does this involve an error being supplied to context.fail? I also want to confirm if you've seen the correct error stack in your lambda logs before using context.fail. Thank you! |
This is an uncaught exception that seems to be being caught by the global handler |
Thanks! One more question: which version of iopipe-core are you using? (Or are you using our serverless layer?) |
We've just released iopipe-js v1.17.0; can you see if this changes the behavior at all? |
Reported error on a lambda log uses the callstack of the iopipe catch block, instead of the call stack of the original error, ie where it was thrown from.
The text was updated successfully, but these errors were encountered: