From a979f4f575fbb88a83b79685a2c17ff1db16520d Mon Sep 17 00:00:00 2001 From: Dave Smith Date: Thu, 3 Dec 2009 09:41:10 -0700 Subject: If failure is controlled (i.e. via ?FAIL macro), don't print out that it failed (expectation is that the caller already did that) --- src/rebar_core.erl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/rebar_core.erl b/src/rebar_core.erl index 868a3e7..5b9c8c7 100644 --- a/src/rebar_core.erl +++ b/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 -- cgit v1.1