diff options
-rw-r--r-- | src/rebar_state.erl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/rebar_state.erl b/src/rebar_state.erl index e7d772f..2c1100e 100644 --- a/src/rebar_state.erl +++ b/src/rebar_state.erl @@ -489,8 +489,11 @@ create_logic_providers(ProviderModules, State0) -> try lists:foldl(fun(ProviderMod, StateAcc) -> case providers:new(ProviderMod, StateAcc) of + {error, {Mod, Error}} -> + ?WARN("~ts", [Mod:format_error(Error)]), + StateAcc; {error, Reason} -> - ?ERROR(Reason++"~n", []), + ?WARN(Reason++"~n", []), StateAcc; {ok, StateAcc1} -> StateAcc1 |