From cc741003c0d2f6fa26c1f20cb0a275cb0c39564e Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Wed, 2 Mar 2016 10:55:55 +0000 Subject: [PATCH] Log FireText exceptions as exceptions --- app/celery/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/celery/tasks.py b/app/celery/tasks.py index d7cb2da23..b12768c58 100644 --- a/app/celery/tasks.py +++ b/app/celery/tasks.py @@ -95,7 +95,7 @@ def send_sms(service_id, notification_id, encrypted_notification, created_at): template.replaced ) except FiretextClientException as e: - current_app.logger.debug(e) + current_app.logger.exception(e) notification_db_object.status = 'failed' dao_update_notification(notification_db_object)