fix: Disable sentry for now
This commit is contained in:
@@ -20,21 +20,21 @@ import { t } from './translations';
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
if (!dev) {
|
if (!dev) {
|
||||||
Sentry.init({
|
// Sentry.init({
|
||||||
dsn: process.env['COOLIFY_SENTRY_DSN'],
|
// dsn: process.env['COOLIFY_SENTRY_DSN'],
|
||||||
tracesSampleRate: 0,
|
// tracesSampleRate: 0,
|
||||||
environment: 'production',
|
// environment: 'production',
|
||||||
debug: true,
|
// debug: true,
|
||||||
release: currentVersion,
|
// release: currentVersion,
|
||||||
initialScope: {
|
// initialScope: {
|
||||||
tags: {
|
// tags: {
|
||||||
appId: process.env['COOLIFY_APP_ID'],
|
// appId: process.env['COOLIFY_APP_ID'],
|
||||||
'os.arch': getOsArch(),
|
// 'os.arch': getOsArch(),
|
||||||
'os.platform': os.platform(),
|
// 'os.platform': os.platform(),
|
||||||
'os.release': os.release()
|
// 'os.release': os.release()
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
});
|
// });
|
||||||
}
|
}
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.log('Could not initialize Sentry, no worries.');
|
console.log('Could not initialize Sentry, no worries.');
|
||||||
|
|||||||
Reference in New Issue
Block a user