Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/aws-serverless
SDK Version
arn:aws:lambda:ap-southeast-2:943013980633:layer:SentryNodeServerlessSDK:271
Framework Version
No response
Link to Sentry event
No response
Reproduction Example/SDK Setup
No response
Steps to Reproduce
I am integrating an serveless app with Sentry and encountered the following problem: I can't seem to find any errors thrown by my lambda in Sentry discovery or elsewhere, can confirm the lambda is throwing a bad request error but not appearing on Sentry. However other logs such as transactions does seem to appear.
For context I am not using the library wrapper or any dependency as I am expecting the layer to integrate and primarily emit any logs from my lambdas.
I have followed the setup strictly from this page and my app is running in CommonJS (CJS): https://docs.sentry.io/platforms/javascript/guides/aws-lambda/install/cjs-layer/
Layer: arn:aws:lambda:ap-southeast-2:943013980633:layer:SentryNodeServerlessSDK:271
Environment variables:
NODE_OPTIONS: "-r @sentry/aws-serverless/awslambda-auto"
SENTRY_DSN: "***"
SENTRY_TRACES_SAMPLE_RATE: "1.0"
SENTRY_ENVIRONMENT: "dev"
Expected Result
Expecting to see errors and other types of logs other than transaction on Sentry
Actual Result
Result showing transactions from Sentry
Metadata
Metadata
Assignees
Type
Projects
Status