mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-14 20:03:52 +00:00
fix: sentry hangs node process
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import * as Sentry from '@sentry/node';
|
||||
import { ProfilingIntegration } from '@sentry/profiling-node';
|
||||
|
||||
let shouldReport;
|
||||
|
||||
@@ -8,8 +7,6 @@ export function initSentry(doReport) {
|
||||
Sentry.init({
|
||||
dsn: 'https://ceb6abdce7374857bb50b65636cbaed1@o4504288369836032.ingest.sentry.io/4504288555565056',
|
||||
tracesSampleRate: 1.0,
|
||||
profilesSampleRate: 1.0, // Profiling sample rate is relative to tracesSampleRate
|
||||
integrations: [new ProfilingIntegration()],
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user