Pārlūkot izejas kodu

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 pirms 15 gadiem
vecāks
revīzija
a979f4f575
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. +2
    -0
      src/rebar_core.erl

+ 2
- 0
src/rebar_core.erl Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt