diff --git a/shard.lock b/shard.lock index 942f7695d..4239287d3 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 diff --git a/src/lavinmq/shovel/shovel.cr b/src/lavinmq/shovel/shovel.cr index e478cceb1..5f87d614f 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