diff options
author | Matthias Radestock <matthias@rabbitmq.com> | 2013-08-01 05:52:37 +0100 |
---|---|---|
committer | Matthias Radestock <matthias@rabbitmq.com> | 2013-08-01 05:52:37 +0100 |
commit | 0896ef6263ff2ed5d75890e1fee0a39daed2269a (patch) | |
tree | ad25a4aa734e0bbf4a5bf3fafa971f5c365d2022 | |
parent | b5e877790f7d332b3f09e9b3b1e3c64b102fcd44 (diff) | |
download | rabbitmq-server-0896ef6263ff2ed5d75890e1fee0a39daed2269a.tar.gz |
handle errors returned by boot stepsbug25693
-rw-r--r-- | src/rabbit.erl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rabbit.erl b/src/rabbit.erl index eae3b802..17426cfc 100644 --- a/src/rabbit.erl +++ b/src/rabbit.erl @@ -472,6 +472,9 @@ run_boot_step({_StepName, Attributes}) -> MFAs -> [try apply(M,F,A) + of + ok -> ok; + {error, Reason} -> boot_error(Reason, not_available) catch _:Reason -> boot_error(Reason, erlang:get_stacktrace()) end || {M,F,A} <- MFAs], |