How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Source Maps Not Correctly Mapping Stack Trace in Sentry for Node js

calendar_today August 23, 2024 person Haseeb Mirza domain amazon-codebuild

I’m trying to trace where errors occur in my code using Sentry. To achieve this, I’m uploading source maps to Sentry during the build stage in CodeBuild. In the post_build phase, I use these commands: sentry-cli sourcemaps inject –org numu-04 –project numu-node-api ./dist sentry-cli sourcemaps upload –org numu-04 –project numu-node-api ./dist –url-prefix ‘~/var/app/current/src’ Build artifacts are uploaded to Sentry after the build, and the same code is uploaded to Beanstalk.

open_in_new Read original post