aboutsummaryrefslogtreecommitdiffstats
path: root/src/rcl_prv_discover.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rcl_prv_discover.erl')
-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()) ->