summaryrefslogtreecommitdiff
path: root/src/rebar_prv_update.erl
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2015-08-22 21:49:58 -0500
committerTristan Sloughter <t@crashfast.com>2015-08-23 09:09:52 -0500
commitdae1b4cc827edbe805c74ae4abcff7ad5571f569 (patch)
tree19fd345af664721fbb20d907dd5411c884e8d9fd /src/rebar_prv_update.erl
parent070e9d329bcbae9a7912b7cd84af0a97bc1c3c19 (diff)
improve error messages for packages by checking its existance before fetching
Diffstat (limited to 'src/rebar_prv_update.erl')
-rw-r--r--src/rebar_prv_update.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rebar_prv_update.erl b/src/rebar_prv_update.erl
index 4b3a155..fcfb6f7 100644
--- a/src/rebar_prv_update.erl
+++ b/src/rebar_prv_update.erl
@@ -114,6 +114,7 @@ update_deps_list(Deps, HexRegistry, State) ->
{ok, HighestDepVsn} ->
[{Dep, HighestDepVsn} | DepsListAcc];
none ->
+ ?WARN("Missing registry entry for package ~s. Try to fix with `rebar3 update`", [Dep]),
DepsListAcc
end;
Vsn ->