mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-12-03 22:01:50 +00:00
Disable node profiling as the native module was not bundled correctly
This commit is contained in:
3 files changed
+3
-438
No files matched your search
@@ -3,16 +3,15 @@ import { init as initSentry, handleErrorWithSentry, sentryHandle } from '@sentry
|
||||
import type { Handle } from "@sveltejs/kit";
|
||||
import { randomBytes } from 'crypto';
|
||||
import { SENTRY_DSN, SENTRY_REPORT_URL } from '$lib/config';
|
||||
import { nodeProfilingIntegration } from "@sentry/profiling-node";
|
||||
// import { nodeProfilingIntegration } from "@sentry/profiling-node";
|
||||
|
||||
initSentry({
|
||||
dsn: SENTRY_DSN,
|
||||
environment: import.meta.env.MODE,
|
||||
tracesSampleRate: 1.0,
|
||||
profilesSampleRate: 1.0,
|
||||
// profilesSampleRate: 1.0,
|
||||
|
||||
integrations: [
|
||||
// Add our Profiling integration
|
||||
nodeProfilingIntegration(),
|
||||
],
|
||||
})
|
||||
|
||||
|
||||
Reference in new issue
Block a user