From c6cf1a9183c69da027056034e2a899efa20f4c8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=20B=C3=B6rjesson?= Date: Tue, 3 Sep 2024 08:53:56 +0200 Subject: [PATCH 1/2] Dont log handled exception as error with backtrace --- src/lavinmq/shovel/shovel.cr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lavinmq/shovel/shovel.cr b/src/lavinmq/shovel/shovel.cr index e478cceb1e..5f87d614f3 100644 --- a/src/lavinmq/shovel/shovel.cr +++ b/src/lavinmq/shovel/shovel.cr @@ -410,13 +410,13 @@ module LavinMQ if ex.message.to_s.starts_with?("404") break end - Log.error(exception: ex) { ex.message } + Log.warn { ex.message } @error = ex.message exponential_reconnect_delay rescue ex break if terminated? @state = State::Error - Log.error(exception: ex) { ex.message } + Log.warn { ex.message } @error = ex.message exponential_reconnect_delay end From 9e6d749128585a69767e73514d02024e7365eca5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=20B=C3=B6rjesson?= Date: Wed, 2 Oct 2024 09:35:50 +0200 Subject: [PATCH 2/2] Update amqp-client --- shard.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shard.lock b/shard.lock index 942f7695d6..4239287d3f 100644 --- a/shard.lock +++ b/shard.lock @@ -10,7 +10,7 @@ shards: amqp-client: git: https://github.com/cloudamqp/amqp-client.cr.git - version: 1.2.6 + version: 1.2.7 lz4: git: https://github.com/84codes/lz4.cr.git