mirror of
https://github.com/simple-login/app.git
synced 2025-09-30 02:18:36 +08:00
sentry init with release
This commit is contained in:
parent
83e38274e7
commit
083398522c
1 changed files with 1 additions and 0 deletions
|
@ -87,6 +87,7 @@ if SENTRY_DSN:
|
|||
LOG.d("enable sentry")
|
||||
sentry_sdk.init(
|
||||
dsn=SENTRY_DSN,
|
||||
release=f"app@{SHA1}",
|
||||
integrations=[
|
||||
FlaskIntegration(),
|
||||
SqlalchemyIntegration(),
|
||||
|
|
Loading…
Add table
Reference in a new issue