forked from github/plane
fix: sentry dsn error (#2981)
This commit is contained in:
parent
7b12d54d83
commit
32bfa4d7cf
@ -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…
Reference in New Issue
Block a user