Skip to content

Commit 26e1b51

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: ATV-248
1 parent d93b963 commit 26e1b51

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
@@ -43,7 +43,7 @@ disable-write-exception = true
4343

4444
plugin-dir = /usr/local/lib/uwsgi/plugins
4545

46-
if-env = SENTRY_DSN
46+
if-env = ENABLE_SENTRY_UWSGI_PLUGIN
4747
print = Enabled sentry logging for uWSGI
4848
plugin = sentry
4949
alarm = logsentry sentry:dsn=$(SENTRY_DSN),logger=uwsgi.sentry

0 commit comments

Comments
 (0)