mirror of
https://github.com/docmost/docmost.git
synced 2026-05-17 06:44:05 +08:00
@@ -1,12 +0,0 @@
|
||||
import * as Sentry from '@sentry/nestjs';
|
||||
import { nodeProfilingIntegration } from '@sentry/profiling-node';
|
||||
import { envPath } from '../helpers';
|
||||
import * as dotenv from 'dotenv';
|
||||
dotenv.config({ path: envPath });
|
||||
|
||||
Sentry.init({
|
||||
dsn: process.env.SENTRY_DSN,
|
||||
integrations: [nodeProfilingIntegration()],
|
||||
tracesSampleRate: 1.0,
|
||||
profilesSampleRate: 1.0,
|
||||
});
|
||||
Reference in New Issue
Block a user