summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Klishin <mklishin@pivotal.io>2017-07-06 15:10:56 +0300
committerMichael Klishin <mklishin@pivotal.io>2017-07-06 15:10:56 +0300
commit22eb5ab38b01b3d93134b0e9ebd464d7e77d24d8 (patch)
tree47a75ff5cb3f4feebb2838f222b9a25e6e953696
parent2143e256a0e529c84a4366118701420897e85771 (diff)
downloadrabbitmq-server-git-22eb5ab38b01b3d93134b0e9ebd464d7e77d24d8.tar.gz
Return an error here
-rw-r--r--src/rabbit_amqqueue_sup_sup.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_amqqueue_sup_sup.erl b/src/rabbit_amqqueue_sup_sup.erl
index 01cad21604..00e4d65cc1 100644
--- a/src/rabbit_amqqueue_sup_sup.erl
+++ b/src/rabbit_amqqueue_sup_sup.erl
@@ -77,7 +77,7 @@ start_for_vhost(VHost) ->
{error, {no_such_vhost, VHost}} ->
rabbit_log:error("Failed to start a queue process supervisor for vhost ~s: vhost no longer exists!",
[VHost]),
- ok
+ {error, {no_such_vhost, VHost}}
end.
-spec stop_for_vhost(rabbit_types:vhost()) -> ok.