summaryrefslogtreecommitdiff
path: root/src/rebar_prv_app_discovery.erl
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2019-07-04 16:01:51 -0400
committerFred Hebert <mononcqc@ferd.ca>2019-07-04 16:06:53 -0400
commit9e4a191f46bbf86bfe75f19ddfa1048b1660faba (patch)
tree32f7e4c8d285ce66bfd64c86069073f1c5f43f7b /src/rebar_prv_app_discovery.erl
parentd80804015388ca5b4197396748b1b247c2d9d2fd (diff)
Fix crash when a dependency is missing app file
Patch up and add tests on #2112
Diffstat (limited to 'src/rebar_prv_app_discovery.erl')
-rw-r--r--src/rebar_prv_app_discovery.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rebar_prv_app_discovery.erl b/src/rebar_prv_app_discovery.erl
index f5bab49..20b7f90 100644
--- a/src/rebar_prv_app_discovery.erl
+++ b/src/rebar_prv_app_discovery.erl
@@ -43,6 +43,8 @@ do(State) ->
{error, {rebar_packages, Error}};
throw:{error, {rebar_app_utils, Error}} ->
{error, {rebar_app_utils, Error}};
+ throw:{error, {rebar_app_discover, Error}} ->
+ {error, {rebar_app_discover, Error}};
throw:{error, Error} ->
?PRV_ERROR(Error)
end.