浏览代码

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

pull/3/head
Dave Smith 15 年前
父节点
当前提交
a0b665360a
共有 1 个文件被更改,包括 5 次插入1 次删除
  1. +5
    -1
      src/rebar.erl

+ 5
- 1
src/rebar.erl 查看文件

@ -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.

正在加载...
取消
保存