File tree 4 files changed +10
-2
lines changed
4 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -14,4 +14,7 @@ USE_EXTERNAL_SERVER=false
14
14
DEV_SERVER_URL=http://192.168.2.20:5173
15
15
16
16
# The level of logging to use.
17
- LOG_LEVEL=debug
17
+ LOG_LEVEL=debug
18
+
19
+ # Send events to Sentry
20
+ SENTRY_ENABLED=false
Original file line number Diff line number Diff line change @@ -7,4 +7,7 @@ COMFY_HOST=localhost
7
7
COMFY_PORT=5173
8
8
9
9
# Whether to use an external server instead of starting one locally.
10
- USE_EXTERNAL_SERVER=true
10
+ USE_EXTERNAL_SERVER=true
11
+
12
+ # Send events to Sentry
13
+ SENTRY_ENABLED=false
Original file line number Diff line number Diff line change 4
4
assets
5
5
.vite
6
6
scripts
7
+ .env_ *
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ let alwaysSendCrashReports = false;
34
34
Sentry . init ( {
35
35
dsn : SENTRY_URL_ENDPOINT ,
36
36
autoSessionTracking : false ,
37
+ enabled : process . env . SENTRY_ENABLED === 'true' || app . isPackaged ,
37
38
beforeSend : async ( event , hint ) => {
38
39
if ( event . extra ?. comfyUIExecutionError || alwaysSendCrashReports ) {
39
40
return event ;
You can’t perform that action at this time.
0 commit comments