Log FireText exceptions as exceptions

This commit is contained in:
Chris Hill-Scott
2016-03-02 10:55:55 +00:00
parent 0e5d72494e
commit cc741003c0

View File

@@ -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)