This commit is contained in:
codl 2017-08-07 14:59:38 +02:00
parent 468e8f1098
commit 86751369e3
No known key found for this signature in database
GPG Key ID: 6CD7C8891ED1233A
1 changed files with 2 additions and 1 deletions

3
app.py
View File

@ -32,4 +32,5 @@ migrate = Migrate(app, db)
sentry = None
if 'SENTRY_DSN' in app.config:
from raven.contrib.flask import Sentry
sentry = Sentry(app, dsn=app.config['SENTRY_DSN'], release=version.version)
sentry = Sentry(app, dsn=app.config['SENTRY_DSN'])
app.config['SENTRY_CONFIG_RELEASE'] = version.version