diff options
| author | Daniil Fedotov <daniil@rabbitmq.com> | 2017-03-30 11:34:46 +0100 |
|---|---|---|
| committer | Gerhard Lazu <gerhard@rabbitmq.com> | 2017-03-30 11:34:46 +0100 |
| commit | bf9cb65478d7601e4990f70e76d7963e948b2c7e (patch) | |
| tree | c218e47603ce9d2236e103fe9b8e38e553f78eab | |
| parent | df45db77ee90c136bf95714acbb852ceb0a65d6f (diff) | |
| download | rabbitmq-server-git-bf9cb65478d7601e4990f70e76d7963e948b2c7e.tar.gz | |
Re-throw exception when stopping RabbitMQ
This is a potential regression in 3.6.7 - 3.6.9 when running
rabbitmqctl stop
[#142701219]
Signed-off-by: Gerhard Lazu <gerhard@rabbitmq.com>
| -rw-r--r-- | src/rabbit.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rabbit.erl b/src/rabbit.erl index 1a69dd5b88..779a4eb788 100644 --- a/src/rabbit.erl +++ b/src/rabbit.erl @@ -447,7 +447,8 @@ stop_and_halt() -> try stop() catch Type:Reason -> - rabbit_log:error("Error trying to stop RabbitMQ: ~p:~p", [Type, Reason]) + rabbit_log:error("Error trying to stop RabbitMQ: ~p:~p", [Type, Reason]), + error({Type, Reason}) after AppsLeft = [ A || {A, _, _} <- application:which_applications() ], rabbit_log:info( |
