소스 검색

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
ok ->
apply_command(Rest, Command);
{error, failed} ->
error;
Other ->
?ERROR("~p failed while processing ~s: ~p", [Command, Dir, Other]),
error

불러오는 중...
취소
저장