Add link to runbook for created letter alert

We've got the entry in the runbook, this will make it clear to go and
look at it.
This commit is contained in:
David McDonald
2021-02-10 14:53:45 +00:00
parent e0ddb5a39e
commit 3c0e609cc9
2 changed files with 9 additions and 3 deletions

View File

@@ -223,7 +223,9 @@ def check_templated_letter_state():
letter_ids = [str(letter.id) for letter in letters]
msg = "{} letters were created before 17.30 yesterday and still have 'created' status. " \
"Notifications: {}".format(len(letters), letter_ids)
"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)
current_app.logger.warning(msg)