mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-24 17:31:34 -05: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()
|
||||
|
||||
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
|
||||
))
|
||||
|
||||
Reference in New Issue
Block a user