forked from github/plane
fix: sentry dsn error (#2981)
This commit is contained in:
parent
5fc6370231
commit
a4b2ccf6b2
@ -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