-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: Only enable sentry for non dummy DSN #4393
chore: Only enable sentry for non dummy DSN #4393
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/eventyay/open-event-frontend/748dgrbad |
Issues
======
+ Solved 1
- Added 2
See the complete overview on Codacy |
// I don't know how to turn them off | ||
if (!config.sentry.dsn.includes('dummy')) { | ||
|
||
Sentry.init({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Issue found: Expected indentation of 2 spaces but found 4.
...event.extra, | ||
adapter_errors: error.errors, | ||
adapter_errors_json: JSON.stringify(error.errors) | ||
Sentry.configureScope(function(scope) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Issue found: Expected indentation of 2 spaces but found 4.
Codecov Report
@@ Coverage Diff @@
## development #4393 +/- ##
===============================================
- Coverage 22.89% 22.62% -0.27%
===============================================
Files 468 468
Lines 4941 4942 +1
Branches 5 6 +1
===============================================
- Hits 1131 1118 -13
- Misses 3808 3823 +15
+ Partials 2 1 -1
Continue to review full report at Codecov.
|
No description provided.