We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd50c54 commit 857c131Copy full SHA for 857c131
src/main.ts
@@ -49,11 +49,18 @@ Sentry.init({
49
dsn: __SENTRY_DSN__,
50
enabled: __SENTRY_ENABLED__,
51
release: __COMFYUI_FRONTEND_VERSION__,
52
- integrations: [],
53
- autoSessionTracking: false,
54
- defaultIntegrations: false,
55
normalizeDepth: 8,
56
- tracesSampleRate: 0
+ tracesSampleRate: isCloud ? 1.0 : 0,
+ replaysSessionSampleRate: 0,
+ replaysOnErrorSampleRate: 0,
+ // Only set these for non-cloud builds
57
+ ...(isCloud
58
+ ? {}
59
+ : {
60
+ integrations: [],
61
+ autoSessionTracking: false,
62
+ defaultIntegrations: false
63
+ })
64
})
65
app.directive('tooltip', Tooltip)
66
app
0 commit comments