diff options
| author | Michael Klishin <michael@clojurewerkz.org> | 2016-06-18 23:52:28 +0300 |
|---|---|---|
| committer | Michael Klishin <michael@clojurewerkz.org> | 2016-06-18 23:52:28 +0300 |
| commit | 81ff300a43640acd7a6c36f2dc31a73f8dc05bb2 (patch) | |
| tree | f49049417c435eccc9769fd1149eb40a0ac260ec /src/delegate.erl | |
| parent | cd73f98a6d2a2b0b1c55b0a7f6aebfc05a32a5dc (diff) | |
| download | rabbitmq-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
