Turn off in-app sentry logging, only log 500s at the WSGI layer

This commit is contained in:
Jake Moshenko 2017-04-18 16:38:22 -04:00
parent 38d4af0d8b
commit ba07270bb2

View file

@ -23,7 +23,7 @@ class Sentry(object):
sentry_type = app.config.get('EXCEPTION_LOG_TYPE', 'FakeSentry')
if sentry_type == 'Sentry':
sentry = FlaskSentry(app)
sentry = FlaskSentry(app, register_signal=False)
else:
sentry = FakeSentry()