Skip to content
Snippets Groups Projects
Commit cb2088df authored by Tomáš Valenta's avatar Tomáš Valenta
Browse files

fix sentry dsn default

parent 196a4dde
Branches
No related tags found
1 merge request!6Release - fixed __str__, add hint
Pipeline #12966 passed
...@@ -234,9 +234,9 @@ CLAMD_TCP_ADDR = env.str("CLAMD_TCP_ADDR") ...@@ -234,9 +234,9 @@ CLAMD_TCP_ADDR = env.str("CLAMD_TCP_ADDR")
# Sentry # Sentry
SENTRY_DSN = env.str("SENTRY_DSN") SENTRY_DSN = env.str("SENTRY_DSN", default="")
if SENTRY_DSN is not None: if SENTRY_DSN != "":
sentry_sdk.init( sentry_sdk.init(
dsn=SENTRY_DSN, dsn=SENTRY_DSN,
integrations=[DjangoIntegration()], integrations=[DjangoIntegration()],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment