Comments (2)
@DiederikvandenB great idea! thanks!
from sentry-module.
There are multiple ways to achieve this. In our opinion, the easiest way to do this is to use .env
files. Quick example:
.env.local
SENTRY_DSN=
.env.production
SENTRY_DSN=your sentry dsn
Just make sure that your production environment uses the correct env file and you're set. If no DSN is set, the plugin does not know how to contact Sentry and thus no errors will be logged.
from sentry-module.
Related Issues (20)
- context.$sentry is undefined in nuxt plugins when disabled in 7.1.11 HOT 2
- Sentry: nuxtCtx.tryUse is not a function HOT 10
- Replay data isn't available to tunnel middleware if Sentry tunnel is enabled HOT 4
- $sentry becomes unavailable after hard-reload during nuxt dev HOT 1
- serverConfig doesn't replace dsn HOT 6
- Version 2.7.5 breaks in nuxt 2.16.3 HOT 3
- Support @sentry/webpack-plugin v2
- Latest version HOT 1
- Should build fail if `publishRelease` fail because Sentry instance is down ? HOT 5
- IgnoreMissing doesnt work HOT 2
- Unsure how this module is suppose to work HOT 5
- Unable to load the plugin, this.nuxt is undefined HOT 1
- Sentry Performance tracing does not work when lazy is set to true HOT 3
- FATAL WebpackPlugin is not a constructor error HOT 2
- Unable to view Sentry Replays in Production HOT 4
- TypeError: undefined is not an object (evaluating 'pt.push') HOT 2
- build is failing: Cannot read properties of undefined (reading 'nuxt') HOT 2
- Make transaction name configurable for performance monitoring. HOT 1
- Nuxt 3 Support HOT 28
- TypeScript Compilation Error in module.d.ts HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sentry-module.