Browse Source

Adding some addt'l logging to make it easier to diagnose probs

pull/3/head
Dave Smith 15 years ago
parent
commit
a0b665360a
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      src/rebar.erl

+ 5
- 1
src/rebar.erl View File

@ -50,6 +50,10 @@ main(Args) ->
case catch(rebar_core:run(Args)) of
ok ->
ok;
_ ->
{error, failed} ->
halt(1);
Error ->
%% Nothing should percolate up from rebar_core; dump this error to console
io:format("Uncaught error in rebar_core: ~p\n", [Error]),
halt(1)
end.

Loading…
Cancel
Save