summaryrefslogtreecommitdiff
path: root/erlang.mk
diff options
context:
space:
mode:
authorJean-Sébastien Pédron <jean-sebastien@rabbitmq.com>2016-04-19 16:08:32 +0200
committerJean-Sébastien Pédron <jean-sebastien@rabbitmq.com>2016-04-19 16:08:32 +0200
commitc0450138586379a9f8e5554e15a8fc5dde6aece3 (patch)
tree2227e8dd3c26a5d3d74736ba0225f92880a35bcd /erlang.mk
parentbac2dac787b4ff1c58fae3bdde7d53eea6a0e94c (diff)
downloadrabbitmq-server-git-c0450138586379a9f8e5554e15a8fc5dde6aece3.tar.gz
rabbit_policy: Fix case clause for missing vhost
If the vhost is missing, `rabbit_vhost:assert(VHost)` throws `{error, {no_such_vhost, _}}` which is caught by `mnesia:async_dirty/1` and wrapped inside a tuple which is passed to `exit()`. Therefore, the catch in the transaction function returns: `{'EXIT', {throw, {error, {no_such_vhost, _}}}}` not: `{error, {no_such_vhost, _}}` Fixes #759. [#117522069]
Diffstat (limited to 'erlang.mk')
0 files changed, 0 insertions, 0 deletions