Skip to content

Commit

Permalink
Update suppressing errors to warn message (#244)
Browse files Browse the repository at this point in the history
Update supressing errors to warn message
  • Loading branch information
danielle-tfh authored Dec 12, 2024
1 parent 3b60d95 commit 1c2dd8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion consumer.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ loop:
if err != nil {
if errors.Is(err, context.Canceled) {
// Suppress expected errors during shutdown
zap.S().Info("ReceiveMessage interrupted due to context cancellation")
zap.S().Warn("ReceiveMessage interrupted due to context cancellation")
continue
}
zap.S().With(zap.Error(err)).Error("could not receive messages from SQS")
Expand Down

0 comments on commit 1c2dd8c

Please sign in to comment.