aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric <[email protected]>2012-09-24 13:28:34 -0700
committerEric <[email protected]>2012-09-24 13:28:34 -0700
commit26ff3c6ddcd0af78c0acdbff1c83a8fb1969c9d5 (patch)
treecf3f444e24852b46673791066ed294725921cbbc
parent8db3f34c5512e4d1472222d59457dc23bfb8ee0c (diff)
downloadrelx-26ff3c6ddcd0af78c0acdbff1c83a8fb1969c9d5.tar.gz
relx-26ff3c6ddcd0af78c0acdbff1c83a8fb1969c9d5.tar.bz2
relx-26ff3c6ddcd0af78c0acdbff1c83a8fb1969c9d5.zip
fix bug in error printing for rcl_prv_discover
-rw-r--r--src/rcl_prv_discover.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rcl_prv_discover.erl b/src/rcl_prv_discover.erl
index ab4011c..23a3937 100644
--- a/src/rcl_prv_discover.erl
+++ b/src/rcl_prv_discover.erl
@@ -149,8 +149,8 @@ format_detail({invalid_app_file, File}) ->
format_detail({unversioned_app, AppDir, _AppName}) ->
io_lib:format("Application metadata exists but version is not available: ~s",
[AppDir]);
-format_detail({app_info_error, Detail}) ->
- rcl_app_info:format_error(Detail).
+format_detail({app_info_error, {Module, Detail}}) ->
+ Module:format_error(Detail).
-spec discover_dir([file:name()],
file:name()) ->