Quellcode durchsuchen

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 vor 15 Jahren
Ursprung
Commit
a979f4f575
1 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen
  1. +2
    -0
      src/rebar_core.erl

+ 2
- 0
src/rebar_core.erl Datei anzeigen

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

Laden…
Abbrechen
Speichern