mirror of
https://github.com/docmost/docmost.git
synced 2025-11-16 04:31:15 +10: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