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

This commit is contained in:
Dave Smith 2009-12-20 20:43:45 -07:00
parent d051534b97
commit a0b665360a

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.