Skip to content

Commit

Permalink
logging(sqs): adds more sqs logging (#58049)
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephen Cefali authored Oct 16, 2023
1 parent dfc2f80 commit 9b312b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/sentry_plugins/amazon_sqs/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ def sqs_send_message(message):
return False

sqs_send_message(message)
log_and_increment("sentry_plugins.amazon_sqs.message_sent")
except ClientError as e:
if str(e).startswith("An error occurred (InvalidClientTokenId)") or str(e).startswith(
"An error occurred (AccessDenied)"
Expand Down

0 comments on commit 9b312b3

Please sign in to comment.