This commit is contained in:
parent
a0c5a7cadc
commit
b7a478dd95
2
app.py
2
app.py
|
@ -33,5 +33,5 @@ migrate = Migrate(app, db)
|
||||||
sentry = None
|
sentry = None
|
||||||
if 'SENTRY_DSN' in app.config:
|
if 'SENTRY_DSN' in app.config:
|
||||||
from raven.contrib.flask import Sentry
|
from raven.contrib.flask import Sentry
|
||||||
|
app.config['SENTRY_CONFIG']['release'] = version.version
|
||||||
sentry = Sentry(app, dsn=app.config['SENTRY_DSN'])
|
sentry = Sentry(app, dsn=app.config['SENTRY_DSN'])
|
||||||
app.config['SENTRY_CONFIG']['release']= version.version
|
|
||||||
|
|
Loading…
Reference in New Issue