fix: remove sentry before migration

This commit is contained in:
Andras Bacsai
2022-11-29 15:13:05 +01:00
parent e7dd13cffa
commit 3c723bcba2
3 changed files with 21 additions and 21 deletions

View File

@@ -249,12 +249,12 @@ async function initServer() {
await prisma.setting.update({ where: { id: '0' }, data: { sentryDSN } })
}
// Initialize Sentry
Sentry.init({
dsn: sentryDSN,
environment: isDev ? 'development' : 'production',
release: version
});
console.log('[000] Sentry initialized...')
// Sentry.init({
// dsn: sentryDSN,
// environment: isDev ? 'development' : 'production',
// release: version
// });
// console.log('[000] Sentry initialized...')
}
} catch (error) {
console.error(error)