diff options
Diffstat (limited to 'src/rebar_prv_app_discovery.erl')
-rw-r--r-- | src/rebar_prv_app_discovery.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rebar_prv_app_discovery.erl b/src/rebar_prv_app_discovery.erl index 5e304cb..31c0f59 100644 --- a/src/rebar_prv_app_discovery.erl +++ b/src/rebar_prv_app_discovery.erl @@ -10,6 +10,7 @@ format_error/1]). -include("rebar.hrl"). +-include_lib("providers/include/providers.hrl"). -define(PROVIDER, app_discovery). -define(DEPS, []). @@ -38,7 +39,7 @@ do(State) -> {ok, State1} catch throw:{error, Error}-> - {error, {?MODULE, Error}} + ?PRV_ERROR(Error) end. -spec format_error(any()) -> iolist(). |