fix: sentry dsn error (#2981)
This commit is contained in:
parent
eda0b32b97
commit
41f0d55dab
1 changed files with 1 additions and 1 deletions
|
|
@ -290,7 +290,7 @@ CELERY_IMPORTS = (
|
|||
|
||||
# Sentry Settings
|
||||
# Enable Sentry Settings
|
||||
if bool(os.environ.get("SENTRY_DSN", False)):
|
||||
if bool(os.environ.get("SENTRY_DSN", False)) and os.environ.get("SENTRY_DSN").startswith("https://"):
|
||||
sentry_sdk.init(
|
||||
dsn=os.environ.get("SENTRY_DSN", ""),
|
||||
integrations=[
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue