Skip to content

Commit 2f5a011

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: PT-1958
1 parent 0310667 commit 2f5a011

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
@@ -49,7 +49,7 @@ ignore-sigpipe = true
4949
ignore-write-errors = true
5050
disable-write-exception = true
5151

52-
if-env = SENTRY_DSN
52+
if-env = ENABLE_SENTRY_UWSGI_PLUGIN
5353
print = Enabled sentry logging for uWSGI
5454
plugin = sentry
5555
alarm = logsentry sentry:dsn=$(SENTRY_DSN),logger=uwsgi.sentry

0 commit comments

Comments
 (0)