Skip to content

Commit

Permalink
Merge pull request #141 from uktrade/fix-queue-state-logging
Browse files Browse the repository at this point in the history
Fix incorrect variable being used to check queue state.
  • Loading branch information
saruniitr authored May 31, 2022
2 parents 6a91012 + fe85211 commit 5568b6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mail/libraries/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -405,5 +405,5 @@ def publish_queue_status():
if "usage_data" in queue_status:
extra_state = {**extra_state, **queue_status["usage_data"]}

if queue_status != "HEALTHY":
if queue_state != "HEALTHY":
log_to_sentry(f"Mail queue status: {queue_state} (see additional data below)", extra=extra_state)

0 comments on commit 5568b6e

Please sign in to comment.