Skip to content

Commit

Permalink
Attempt to fix sentry_dsn issue for legal api (#2879)
Browse files Browse the repository at this point in the history
  • Loading branch information
argush3 authored Jul 31, 2024
1 parent 15bacbd commit a9a19e5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion legal-api/src/legal_api/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ class _Config(): # pylint: disable=too-few-public-methods

GO_LIVE_DATE = os.getenv('GO_LIVE_DATE')

SENTRY_DSN = os.getenv('SENTRY_DSN', None)
SENTRY_DSN = os.getenv('SENTRY_DSN') or ''
SENTRY_DSN = '' if SENTRY_DSN.lower() == 'null' else SENTRY_DSN
LD_SDK_KEY = os.getenv('LD_SDK_KEY', None)
SECRET_KEY = 'a secret'

Expand Down

0 comments on commit a9a19e5

Please sign in to comment.