Browse Source

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 years ago
parent
commit
a979f4f575
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      src/rebar_core.erl

+ 2
- 0
src/rebar_core.erl View File

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

Loading…
Cancel
Save