diff --git a/src/rebar_core.erl b/src/rebar_core.erl index 868a3e78..5b9c8c75 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