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:
commit
624d8e1851
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||||
|
|
||||||
|
|
Reference in a new issue