mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-23 17:01:35 -05:00
Update log message to something a little easier to read and query for.
This commit is contained in:
@@ -123,8 +123,7 @@ def update_validation_failed_for_templated_letter(self, notification_id, page_co
|
||||
notification = get_notification_by_id(notification_id, _raise=True)
|
||||
notification.status = NOTIFICATION_VALIDATION_FAILED
|
||||
dao_update_notification(notification)
|
||||
current_app.logger.info(f"Letter notification id: {notification_id} reference {notification.reference}: "
|
||||
f"validation failed: letter is too long {page_count}")
|
||||
current_app.logger.info(f"Validation failed: letter is too long {page_count} for letter with id: {notification_id}")
|
||||
|
||||
|
||||
@notify_celery.task(name='collate-letter-pdfs-to-be-sent')
|
||||
|
||||
Reference in New Issue
Block a user