GitLab steht aufgrund wichtiger Wartungsarbeiten am Montag, den 8. März, zwischen 17:00 und 19:00 Uhr nicht zur Verfügung.

Fixes check for prod environment and version of the sentry package in the package.json

parent dda28ff9
......@@ -85,7 +85,7 @@
"tslib": "^1.10.0",
"web-animations-js": "^2.3.2",
"zone.js": "~0.9.1",
"@sentry/browser": "latest"
"@sentry/browser": "^5.9.0"
},
"devDependencies": {
"@angular/cli": "^8.3.18",
......
......@@ -2,7 +2,7 @@ import { ErrorHandler, Injectable } from '@angular/core';
import { captureException, init as SentryInit, showReportDialog } from '@sentry/browser';
import { environment } from '../../environments/environment';
if (!environment.production) {
if (environment.production) {
SentryInit({
dsn: 'https://f16c02fdefe64c018f5d580d1cf05b56@sentry.io/1819496',
});
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment