Open nidhi-tandon opened 1 year ago
Hi @nidhi-tandon Have you followed the steps in here? https://github.com/getsentry/sentry-netlify-build-plugin#installation
In the official documentation I read this:
Register the package as a plugin in gatsby-config.js. Options will be passed directly to Sentry.init.
It makes me think that configuration via webpack.config.js is not the preferred way.
You may also want to pass debug: true,
to the initializer while investigating.
How are you deploying your app to Netlify? Are using Github Actions as part of it? Are you using Docker as part of the build and release process?
I will check with passing debug: true
You may also want to pass debug: true, to the initializer while investigating.
Environment
React app with Netlify deployments
Steps to Reproduce
Sentry.init
with the following params,SENTRY_RELEASE
andSENTRY_ENVIRONMENT
is undefined.plugins: [ new SentryWebpackPlugin({ org: 'some-org', project: 'some-project', include: './build', ignoreFile: '.sentrycliignore', ignore: ['node_modules', 'webpack.config.js'], authToken: process.env.SENTRY_AUTH_TOKEN, release: process.env.SENTRY_RELEASE, }), ],