Skip to content

Commit

Permalink
fixup! Don't raise on Upstream Channel Close
Browse files Browse the repository at this point in the history
  • Loading branch information
carlhoerberg committed May 9, 2024
1 parent ddf7368 commit 749dd6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/amqproxy/upstream.cr
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ module AMQProxy
send AMQ::Protocol::Frame::Channel::Close.new(channel, 0u16, "", 0u16, 0u16)
end
rescue ex : IO::Error | OpenSSL::SSL::Error
Log.debug(exception: ex) { "Error while closing upstream channel #{id}" }
Log.debug(exception: ex) { "Error while closing upstream channel #{channel}" }
end

def channels
Expand Down

0 comments on commit 749dd6d

Please sign in to comment.