From 9d2c81f6103585f72081a1d16255f9a713555956 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=20B=C3=B6rjesson?= Date: Tue, 3 Sep 2024 08:26:11 +0200 Subject: [PATCH] Log with debug instead of error --- src/amqp-client/channel.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/amqp-client/channel.cr b/src/amqp-client/channel.cr index e9b3698..6bd71a5 100644 --- a/src/amqp-client/channel.cr +++ b/src/amqp-client/channel.cr @@ -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