summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2012-06-06 15:57:00 +0100
committerSimon MacMullen <simon@rabbitmq.com>2012-06-06 15:57:00 +0100
commitfd966fb77c2f800b2d31fe9754a3a85e992d1e83 (patch)
tree427dfb679c53b92cd10deaf85675f29dc407b1a7 /src
parent0a3d2558ed43c25cab990149478ca29c12993e96 (diff)
downloadrabbitmq-server-git-fd966fb77c2f800b2d31fe9754a3a85e992d1e83.tar.gz
Probably should have been part of bug 24792 but: now that we start applications ourselves rather than in the boot script, we can write nicer error messages. Let's do that.
Diffstat (limited to 'src')
-rw-r--r--src/rabbit.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rabbit.erl b/src/rabbit.erl
index fda489fe61..fc5d4e934e 100644
--- a/src/rabbit.erl
+++ b/src/rabbit.erl
@@ -323,6 +323,8 @@ boot() ->
start_it(StartFun) ->
try
StartFun()
+ catch _:Reason ->
+ boot_error("Error description:~n~n~p~n~n", [Reason])
after
%% give the error loggers some time to catch up
timer:sleep(100)