mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-20 15:31:15 -05:00
Merge pull request #2266 from alphagov/log-message-fix
Fix log messages when emails and letters don't get deleted
This commit is contained in:
@@ -147,7 +147,7 @@ def delete_email_notifications_older_than_seven_days():
|
||||
)
|
||||
)
|
||||
except SQLAlchemyError:
|
||||
current_app.logger.exception("Failed to delete sms notifications")
|
||||
current_app.logger.exception("Failed to delete email notifications")
|
||||
raise
|
||||
|
||||
|
||||
@@ -166,7 +166,7 @@ def delete_letter_notifications_older_than_seven_days():
|
||||
)
|
||||
)
|
||||
except SQLAlchemyError:
|
||||
current_app.logger.exception("Failed to delete sms notifications")
|
||||
current_app.logger.exception("Failed to delete letter notifications")
|
||||
raise
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user