Skip to content

Commit

Permalink
add debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenneth Kehl committed Nov 12, 2024
1 parent 17337df commit 767f94a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion app/clients/sms/aws_sns.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,13 @@ def send_sms(self, to, content, reference, sender=None, international=False):
}

if self._valid_sender_number(sender):
self.current_app.logger.info("aws_sns found a valid sender number!")
self.current_app.logger.info(
"aws_sns found a valid sender number here it is wait for it!"
)
# To defeat scrubbing, sender numbers are not PII.
for number in sender:
self.current_app.logger.info(number)

attributes["AWS.MM.SMS.OriginationNumber"] = {
"DataType": "String",
"StringValue": sender,
Expand Down

0 comments on commit 767f94a

Please sign in to comment.