mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-02 17:31:14 -05:00
Log FireText exceptions as exceptions
This commit is contained in:
@@ -95,7 +95,7 @@ def send_sms(service_id, notification_id, encrypted_notification, created_at):
|
|||||||
template.replaced
|
template.replaced
|
||||||
)
|
)
|
||||||
except FiretextClientException as e:
|
except FiretextClientException as e:
|
||||||
current_app.logger.debug(e)
|
current_app.logger.exception(e)
|
||||||
notification_db_object.status = 'failed'
|
notification_db_object.status = 'failed'
|
||||||
dao_update_notification(notification_db_object)
|
dao_update_notification(notification_db_object)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user