mirror of
https://github.com/correl/rebar.git
synced 2024-11-23 19:19:54 +00:00
Adding some addt'l logging to make it easier to diagnose probs
This commit is contained in:
parent
d051534b97
commit
a0b665360a
1 changed files with 5 additions and 1 deletions
|
@ -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…
Reference in a new issue