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 504aabd commit 168e885Copy full SHA for 168e885
src/extensions/core/cloud/sentry.ts
src/main.ts
@@ -37,8 +37,15 @@ Sentry.init({
37
enabled: __SENTRY_ENABLED__,
38
release: __COMFYUI_FRONTEND_VERSION__,
39
normalizeDepth: 8,
40
+ integrations: [Sentry.browserTracingIntegration({ router })],
41
tracesSampleRate: 1.0
42
})
43
+
44
+if (__SENTRY_ENABLED__) {
45
+ // @ts-expect-error temporary solution to expose Sentry globally for cloud extensions
46
+ window.Sentry = Sentry
47
+}
48
49
app.directive('tooltip', Tooltip)
50
app
51
.use(router)
0 commit comments