fix/sentry-local-build

This commit is contained in:
AndyMik90
2026-01-17 11:14:09 +01:00
parent 2096b0e275
commit b822797f9f
+2
View File
@@ -202,5 +202,7 @@ export function getSentryEnvForSubprocess(): Record<string, string> {
SENTRY_DSN: dsn,
SENTRY_TRACES_SAMPLE_RATE: String(getTracesSampleRate()),
SENTRY_PROFILES_SAMPLE_RATE: String(getProfilesSampleRate()),
// Pass SENTRY_DEV so Python backend also enables Sentry in dev mode
...(process.env.SENTRY_DEV ? { SENTRY_DEV: process.env.SENTRY_DEV } : {}),
};
}