aboutsummaryrefslogtreecommitdiffstats
path: root/src/rlx_rel_discovery.erl
diff options
context:
space:
mode:
authorTristan Sloughter <[email protected]>2013-09-07 17:21:10 -0500
committerTristan Sloughter <[email protected]>2013-09-11 16:08:19 -0500
commit2f54b2d5360c52fff2c3f8fde73b29b6069174ea (patch)
tree74483a22063ac8714e5990affe6f50b497c61f75 /src/rlx_rel_discovery.erl
parenteb6a468640f8e417ab97f05400ee25b78b9480f1 (diff)
downloadrelx-2f54b2d5360c52fff2c3f8fde73b29b6069174ea.tar.gz
relx-2f54b2d5360c52fff2c3f8fde73b29b6069174ea.tar.bz2
relx-2f54b2d5360c52fff2c3f8fde73b29b6069174ea.zip
fix error messages
Diffstat (limited to 'src/rlx_rel_discovery.erl')
-rw-r--r--src/rlx_rel_discovery.erl2
1 files changed, 2 insertions, 0 deletions
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}) ->