aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/rlx_prv_assembler.erl4
-rw-r--r--src/rlx_rel_discovery.erl2
2 files changed, 4 insertions, 2 deletions
diff --git a/src/rlx_prv_assembler.erl b/src/rlx_prv_assembler.erl
index 52894f2..b2f6451 100644
--- a/src/rlx_prv_assembler.erl
+++ b/src/rlx_prv_assembler.erl
@@ -87,7 +87,7 @@ format_error({relup_generation_warning, Module, Warnings}) ->
["Warnings generating relup \s",
rlx_util:indent(1), Module:format_warning(Warnings)];
format_error({relup_script_generation_error,
- {relupcript_generation_error, systools_relup,
+ {relup_script_generation_error, systools_relup,
{missing_sasl, _}}}) ->
"Unfortunately, due to requirements in systools, you need to have the sasl application "
"in both the current release and the release to upgrade from.";
@@ -434,7 +434,7 @@ make_upfrom_script(State, Release, UpFrom) ->
{ok,_, Module,Warnings} ->
?RLX_ERROR({relup_script_generation_warn, Module, Warnings});
{error,Module,Errors} ->
- ?RLX_ERROR({relupcript_generation_error, Module, Errors})
+ ?RLX_ERROR({relup_script_generation_error, Module, Errors})
end.
write_relup_file(State, Release, Relup) ->
diff --git a/src/rlx_rel_discovery.erl b/src/rlx_rel_discovery.erl
index c1e74fb..3cdca3e 100644
--- a/src/rlx_rel_discovery.erl
+++ b/src/rlx_rel_discovery.erl
@@ -86,6 +86,8 @@ resolve_rel_metadata(State, LibDirs, AppMeta) ->
end.
-spec format_detail(ErrorDetail::term()) -> iolist().
+format_detail({_Module, {could_not_find, {ReleaseName, {Version, _}}}}) ->
+ io_lib:format("could not find app ~p ~p", [ReleaseName, Version]);
format_detail({accessing, File, eaccess}) ->
io_lib:format("permission denied accessing file ~s", [File]);
format_detail({accessing, File, Type}) ->