Skip to content

Commit

Permalink
Turn off signal registration in Sentry to avoid submitting unwanted e…
Browse files Browse the repository at this point in the history
…xceptions to Sentry.
  • Loading branch information
bhearsum committed Dec 28, 2016
1 parent 4d4d7ba commit e911eda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uwsgi/public.wsgi
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ application.config["VERSION_FILE"] = "/app/version.json"
if os.environ.get('SENTRY_DSN'):
application.config['SENTRY_DSN'] = os.environ.get('SENTRY_DSN')
from auslib.web.base import sentry
sentry.init_app(application)
sentry.init_app(application, register_signal=False)

if os.environ.get("CACHE_CONTROL"):
application.config["CACHE_CONTROL"] = os.environ["CACHE_CONTROL"]

0 comments on commit e911eda

Please sign in to comment.