Merge pull request #2326 from alphagov/error-downgrade

downgrade error to info for notification not found for callback
This commit is contained in:
Leo Hemsted
2019-02-05 14:51:12 +00:00
committed by GitHub

View File

@@ -113,7 +113,7 @@ def update_notification_status_by_id(notification_id, status, sent_by=None):
notification = Notification.query.with_for_update().filter(Notification.id == notification_id).first()
if not notification:
current_app.logger.error('notification not found for id {} (update to status {})'.format(
current_app.logger.info('notification not found for id {} (update to status {})'.format(
notification_id,
status
))