Skip to content

Commit eca9ecd

Browse files
committed
[Fix] Remove hardcoded Sentry DSN values for security. This removes error tracking and monitoring service, unless provided in ENV.
1 parent 4b1a8cc commit eca9ecd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

label_studio/core/settings/label_studio.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@
3030

3131
RQ_QUEUES = {}
3232

33-
SENTRY_DSN = get_env('SENTRY_DSN', 'https://[email protected]/5820521')
33+
SENTRY_DSN = get_env('SENTRY_DSN', '')
3434
SENTRY_ENVIRONMENT = get_env('SENTRY_ENVIRONMENT', 'opensource')
3535

3636
FRONTEND_SENTRY_DSN = get_env(
37-
'FRONTEND_SENTRY_DSN', 'https://[email protected]/5838868'
37+
'FRONTEND_SENTRY_DSN', ''
3838
)
3939
FRONTEND_SENTRY_ENVIRONMENT = get_env('FRONTEND_SENTRY_ENVIRONMENT', 'opensource')
4040

0 commit comments

Comments
 (0)