Skip to content

Commit 51e9b72

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: NS-180
1 parent 56c907c commit 51e9b72

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
@@ -42,7 +42,7 @@ ignore-sigpipe = true
4242
ignore-write-errors = true
4343
disable-write-exception = true
4444

45-
if-env = SENTRY_DSN
45+
if-env = ENABLE_SENTRY_UWSGI_PLUGIN
4646
print = Enabled sentry logging for uWSGI
4747
plugin-dir = /usr/local/lib/uwsgi/plugins
4848
plugin = sentry

0 commit comments

Comments
 (0)