summaryrefslogtreecommitdiff
path: root/src/delegate.erl
diff options
context:
space:
mode:
authorMichael Klishin <michael@clojurewerkz.org>2016-06-18 23:52:28 +0300
committerMichael Klishin <michael@clojurewerkz.org>2016-06-18 23:52:28 +0300
commit81ff300a43640acd7a6c36f2dc31a73f8dc05bb2 (patch)
treef49049417c435eccc9769fd1149eb40a0ac260ec /src/delegate.erl
parentcd73f98a6d2a2b0b1c55b0a7f6aebfc05a32a5dc (diff)
downloadrabbitmq-server-git-81ff300a43640acd7a6c36f2dc31a73f8dc05bb2.tar.gz
Gracefully handle cases when logging exchange does not existrabbitmq_v3_6_3_milestone2
Client test suites that test connection recovery by restarting RabbitMQ ocassionally lead to a situation when amq.rabbitmq.log in the "/" vhost can be unavailable for a split second. Default vhost may or may not exist in general. So handle {error, not_found} responses from rabbit_basic:publish/4 instead of potentially seriously polluting logs with confusing exceptions. While at it, return a sensible value from terminate/2.
Diffstat (limited to 'src/delegate.erl')
0 files changed, 0 insertions, 0 deletions