Update info log to waring.

Removed duplicate test
This commit is contained in:
Rebecca Law
2017-01-27 12:20:54 +00:00
parent 67657ced26
commit 27b6aa736c
2 changed files with 4 additions and 13 deletions

View File

@@ -58,10 +58,10 @@ def process_sms_client_response(status, reference, client_name):
# record stats
notification = notifications_dao.update_notification_status_by_id(reference, notification_status)
if not notification:
current_app.logger.info("{} callback failed: notification {} either not found or already updated "
"from sending. Status {}".format(client_name,
reference,
notification_status_message))
current_app.logger.warning("{} callback failed: notification {} either not found or already updated "
"from sending. Status {}".format(client_name,
reference,
notification_status_message))
return success, errors
if not notification_success: