Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
sastels committed Apr 9, 2024
1 parent 7e69706 commit b3d12e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/clients/sms/aws_pinpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def send_sms(self, to, content, reference, multi=True, sender=None):
self.current_app.logger.info("AWS Pinpoint request finished in {}".format(elapsed_time))
self.statsd_client.timing("clients.pinpoint.request-time", elapsed_time)
self.statsd_client.incr("clients.pinpoint.success")
return response["MessageId"]
return response["MessageId"]

if not matched:
self.statsd_client.incr("clients.pinpoint.error")
Expand Down

0 comments on commit b3d12e5

Please sign in to comment.