Skip to content

AWS Lambda failing on Sentry failures #4862

Closed
@mariomnts

Description

@mariomnts

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

  1. Enable AWS Lambda Sentry layer on a AWS Lambda function.
  2. When sending an event to Sentry this fails with an error (for example, could be 429 because we ran out of Sentry tracing quota).
  3. Lambda is marked as failed with and invoke error.

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


Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions