Skip to content

Commit

Permalink
Log with debug instead of error
Browse files Browse the repository at this point in the history
  • Loading branch information
spuun committed Sep 3, 2024
1 parent ce0b0df commit 9d2c81f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/amqp-client/channel.cr
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ class AMQP::Client
begin
blk.call(msg)
rescue ex
Log.error(exception: ex) { "Uncaught exception in consumer, closing channel" }
Log.debug(exception: ex) { "Uncaught exception in consumer, closing channel" }
close("Uncaught exception in consumer #{consumer_tag}", 500) rescue nil
done.send(ex) rescue nil
return
Expand Down

0 comments on commit 9d2c81f

Please sign in to comment.