Merge pull request #2553 from jakedt/silencesentrynoise

Turn off in-app sentry logging, only log 500s at the WSGI layer
This commit is contained in:
Jake Moshenko 2017-04-18 17:11:22 -04:00 committed by GitHub
commit 624d8e1851

View file

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