mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-16 20:48:37 -04:00
Merge pull request #3212 from alphagov/update-zendesk-message
Update the Zendesk ticket content for `check_if_letters_still_in_created`
This commit is contained in:
@@ -226,13 +226,10 @@ def check_if_letters_still_in_created():
|
||||
letters = dao_old_letters_with_created_status()
|
||||
|
||||
if len(letters) > 0:
|
||||
letter_ids = [str(letter.id) for letter in letters]
|
||||
|
||||
msg = "{} letters were created before 17.30 yesterday and still have 'created' status. " \
|
||||
"Follow runbook to resolve: " \
|
||||
"https://github.com/alphagov/notifications-manuals/wiki/Support-Runbook" \
|
||||
"#deal-with-Letters-still-in-created. " \
|
||||
"Notifications: {}".format(len(letters), letter_ids)
|
||||
"#deal-with-Letters-still-in-created.".format(len(letters))
|
||||
|
||||
current_app.logger.warning(msg)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user