sentry init with release

This commit is contained in:
Son NK 2020-11-26 10:30:03 +01:00
parent 83e38274e7
commit 083398522c
1 changed files with 1 additions and 0 deletions

View File

@ -87,6 +87,7 @@ if SENTRY_DSN:
LOG.d("enable sentry")
sentry_sdk.init(
dsn=SENTRY_DSN,
release=f"app@{SHA1}",
integrations=[
FlaskIntegration(),
SqlalchemyIntegration(),