Skip to content

Commit

Permalink
Update config.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ehanson8 committed Jan 31, 2022
1 parent 1f27036 commit e4dc510
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions awd/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,3 @@
LOG_RECIPIENT_EMAIL = os.getenv("LOG_RECIPIENT_EMAIL")
RETRY_THRESHOLD = os.getenv("RETRY_THRESHOLD")
SENTRY_DSN = os.getenv("SENTRY_DSN")


def check_sentry():
if SENTRY_DSN:
logger.info("Sending a Zero Division Error to Sentry")
1 / 0
else:
logger.info("No Sentry DSN found")

0 comments on commit e4dc510

Please sign in to comment.