mirror of
https://github.com/correl/rebar.git
synced 2024-11-14 19:19:30 +00:00
If failure is controlled (i.e. via ?FAIL macro), don't print out that it failed (expectation is that the caller already did that)
This commit is contained in:
parent
65a3ff0111
commit
a979f4f575
1 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue