-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
AWS Lambda failing on Sentry failures #4862
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
Comments
I brought this in this closed issue but it's still with no response: #4582 (comment) |
I recently snooped around and found a potential issue of unhandled rejections when receiving a quota response while flushing the promise buffer: #4809 (comment) This might be related because the AWS Lambda SDK's |
Adding more to this, this option is only available at that wrapper level, but no in the Lambda Layer integration. I would expect something like |
I'm also experiencing this issue, |
maybe my mind is playing tricks on me but did we have a similar issue come up already @sl0thentr0py or @antonpirker ? |
I'm seeing something similar, though the Sentry error is a 404 and sometimes a 403 - even though when I throw inside my function it is being reported to Sentry. Also |
Same as above, getting a 403 from Sentry but the events are posted to Sentry. The Lambda invocation fails with the Sentry error instead of the reported error, and the CloudWatch logs show the Sentry error. Lambda error and CloudWatch logs:
using |
Sentry is currently in an ongoing outage which is throwing |
Hi everyone, we just merged #5090 which will hopefully get rid of this problem entirely. The SDK should not throw anymore when transmitting errors to Sentry fails. In case of an error, the SDK will simply log the error (if you set When will this be released? We are currently amidst preparing for the v7 release of the SDK - meaning this change will become available with the next beta or release candidate version of v7. Additionally (and unfortunately), we are currently rethinking how we publish our lambda layers (due to the nature of lambda layer versioning) - that might add a bit to the release timeline of this change. We will keep you posted. |
This issue has gone three weeks without activity. In another week, I will close it. But! If you comment or otherwise update it, I will reset the clock, and if you label it "A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀 |
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which package are you using?
@sentry/serverless
SDK Version
50 (Lambda layer eu-west-1)
Framework Version
No response
Link to Sentry event
No response
Steps to Reproduce
Expected Result
Lambda is NOT marked as failed or we can configure it we want it to be marked as failed or not like we can do when using the AWS.wrapHandler option in the library.
Actual Result
The text was updated successfully, but these errors were encountered: