Support SENTRY_RELEASE in Flask (fixes GH-687)

This commit is contained in:
David Cramer 2015-11-30 11:03:08 -08:00
parent cc67f53f91
commit 747ad0dda1
1 changed files with 1 additions and 0 deletions

View File

@ -53,6 +53,7 @@ def make_client(client_cls, app, dsn=None):
list_max_length=app.config.get('SENTRY_MAX_LENGTH_LIST'),
auto_log_stacks=app.config.get('SENTRY_AUTO_LOG_STACKS'),
tags=app.config.get('SENTRY_TAGS'),
release=app.config.get('SENTRY_RELEASE'),
extra={
'app': app,
},