diff options
author | Eric <[email protected]> | 2012-09-24 13:28:34 -0700 |
---|---|---|
committer | Eric <[email protected]> | 2012-09-24 13:28:34 -0700 |
commit | 26ff3c6ddcd0af78c0acdbff1c83a8fb1969c9d5 (patch) | |
tree | cf3f444e24852b46673791066ed294725921cbbc /src | |
parent | 8db3f34c5512e4d1472222d59457dc23bfb8ee0c (diff) | |
download | relx-26ff3c6ddcd0af78c0acdbff1c83a8fb1969c9d5.tar.gz relx-26ff3c6ddcd0af78c0acdbff1c83a8fb1969c9d5.tar.bz2 relx-26ff3c6ddcd0af78c0acdbff1c83a8fb1969c9d5.zip |
fix bug in error printing for rcl_prv_discover
Diffstat (limited to 'src')
-rw-r--r-- | src/rcl_prv_discover.erl | 4 |
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()) -> |