mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-20 07:21:13 -05:00
more debugging messages
This commit is contained in:
@@ -81,8 +81,10 @@ class AwsSnsClient(SmsClient):
|
||||
PhoneNumber=to, Message=content, MessageAttributes=attributes
|
||||
)
|
||||
except botocore.exceptions.ClientError as e:
|
||||
self.current_app.logger.error(e)
|
||||
raise str(e)
|
||||
except Exception as e:
|
||||
self.current_app.logger(e)
|
||||
raise str(e)
|
||||
finally:
|
||||
elapsed_time = monotonic() - start_time
|
||||
|
||||
Reference in New Issue
Block a user