瀏覽代碼

If failure is controlled (i.e. via ?FAIL macro), don't print out that it failed (expectation is that the caller already did that)

pull/3/head
Dave Smith 15 年之前
父節點
當前提交
a979f4f575
共有 1 個檔案被更改,包括 2 行新增0 行删除
  1. +2
    -0
      src/rebar_core.erl

+ 2
- 0
src/rebar_core.erl 查看文件

@ -196,6 +196,8 @@ apply_command([{Type, Dir, File} | Rest], Command) ->
case catch(run_modules(Modules, Command, Config, File)) of case catch(run_modules(Modules, Command, Config, File)) of
ok -> ok ->
apply_command(Rest, Command); apply_command(Rest, Command);
{error, failed} ->
error;
Other -> Other ->
?ERROR("~p failed while processing ~s: ~p", [Command, Dir, Other]), ?ERROR("~p failed while processing ~s: ~p", [Command, Dir, Other]),
error error

Loading…
取消
儲存