Skip to content

Commit 0d94fc6

Browse files
committed
feat: allow Sentry uWSGI-plugin to be optional
Use ENABLE_SENTRY_UWSGI_PLUGIN-flag to control Sentry uWSGI-plugin usage. Disable it by default. Refs: KK-1475
1 parent 8e2e283 commit 0d94fc6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.prod/uwsgi.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ ignore-sigpipe = true
5252
ignore-write-errors = true
5353
disable-write-exception = true
5454

55-
if-env = SENTRY_DSN
55+
if-env = ENABLE_SENTRY_UWSGI_PLUGIN
5656
print = Enabled sentry logging for uWSGI
5757
plugin = sentry
5858
alarm = logsentry sentry:dsn=$(SENTRY_DSN),logger=uwsgi.sentry

0 commit comments

Comments
 (0)