mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-23 15:56:45 -04:00
Merge pull request #2326 from alphagov/error-downgrade
downgrade error to info for notification not found for callback
This commit is contained in:
@@ -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()
|
notification = Notification.query.with_for_update().filter(Notification.id == notification_id).first()
|
||||||
|
|
||||||
if not notification:
|
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,
|
notification_id,
|
||||||
status
|
status
|
||||||
))
|
))
|
||||||
|
|||||||
Reference in New Issue
Block a user