Skip to content

Commit

Permalink
log warn instead of preconditioned failed when redeclaring exchange w…
Browse files Browse the repository at this point in the history
…ith differing arguments
  • Loading branch information
kickster97 committed Mar 24, 2024
1 parent b586057 commit 8dfe2cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lavinmq/client/client.cr
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ module LavinMQ
send AMQP::Frame::Exchange::DeclareOk.new(frame.channel)
end
else
send_precondition_failed(frame, "Existing exchange '#{frame.exchange_name}' declared with other arguments")
@log.warn { "Existing exchange '#{frame.exchange_name}' declared with other arguments" }
end
end

Expand Down

0 comments on commit 8dfe2cd

Please sign in to comment.