Get Next.js Build ID from Sentry #9195
-
Hi! Is it possible to get the Next.js Build-ID from Sentry through some method? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey, thanks for writing in! The release is grabbed from the git SHA of the commit that represents the build. We try to infer this from environmental variables set. See: sentry-javascript/packages/node/src/sdk.ts Lines 200 to 230 in 4236181 |
Beta Was this translation helpful? Give feedback.
Hey, thanks for writing in! The release is grabbed from the git SHA of the commit that represents the build. We try to infer this from environmental variables set.
See:
sentry-javascript/packages/node/src/sdk.ts
Lines 200 to 230 in 4236181