mirror of
https://github.com/simple-login/app.git
synced 2025-10-02 11:26:29 +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")
|
LOG.d("enable sentry")
|
||||||
sentry_sdk.init(
|
sentry_sdk.init(
|
||||||
dsn=SENTRY_DSN,
|
dsn=SENTRY_DSN,
|
||||||
|
release=f"app@{SHA1}",
|
||||||
integrations=[
|
integrations=[
|
||||||
FlaskIntegration(),
|
FlaskIntegration(),
|
||||||
SqlalchemyIntegration(),
|
SqlalchemyIntegration(),
|
||||||
|
|
Loading…
Add table
Reference in a new issue