diff options
| author | Tim Watson <tim@rabbitmq.com> | 2012-10-05 14:50:23 +0100 |
|---|---|---|
| committer | Tim Watson <tim@rabbitmq.com> | 2012-10-05 14:50:23 +0100 |
| commit | 1608ff1dcbfc8f4583fcde9da2f93a6473b8a7dd (patch) | |
| tree | e6b52c78185f41666808aff0bfcf781f31464ec0 /src/rabbit.erl | |
| parent | 9ab055a4caebc30f030eb6bd47238ec8a59b8f3c (diff) | |
| download | rabbitmq-server-git-1608ff1dcbfc8f4583fcde9da2f93a6473b8a7dd.tar.gz | |
don't try too hard to get the output errors looking nice
Diffstat (limited to 'src/rabbit.erl')
| -rw-r--r-- | src/rabbit.erl | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/rabbit.erl b/src/rabbit.erl index 96c1c1bf9b..ddaaeb2584 100644 --- a/src/rabbit.erl +++ b/src/rabbit.erl @@ -541,13 +541,6 @@ boot_error({error, {timeout_waiting_for_tables, _}}, _Stacktrace) -> Ns} end, basic_boot_error(Err ++ rabbit_nodes:diagnostics(Nodes) ++ "~n~n", []); - -boot_error({Tag, [H|_]=Message}, Stacktrace) when is_atom(Tag) andalso - is_integer(H) -> - Fmt = "Error description:~n ~s: ~s~n~n" ++ - "Log files (may contain more information):~n ~s~n ~s~n~n", - Args = [Tag, Message, log_location(kernel), log_location(sasl)], - boot_error(Fmt, Args, Stacktrace); boot_error(Reason, Stacktrace) -> Fmt = "Error description:~n ~p~n~n" ++ "Log files (may contain more information):~n ~s~n ~s~n~n", |
