diff options
| author | Jean-Sébastien Pédron <jean-sebastien@rabbitmq.com> | 2016-04-19 16:08:32 +0200 |
|---|---|---|
| committer | Jean-Sébastien Pédron <jean-sebastien@rabbitmq.com> | 2016-04-19 16:08:32 +0200 |
| commit | c0450138586379a9f8e5554e15a8fc5dde6aece3 (patch) | |
| tree | 2227e8dd3c26a5d3d74736ba0225f92880a35bcd /erlang.mk | |
| parent | bac2dac787b4ff1c58fae3bdde7d53eea6a0e94c (diff) | |
| download | rabbitmq-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
