Skip to content

Commit

Permalink
fix bug in error printing for rcl_prv_discover
Browse files Browse the repository at this point in the history
  • Loading branch information
ericbmerritt committed Sep 24, 2012
1 parent 8db3f34 commit 26ff3c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rcl_prv_discover.erl
Original file line number Diff line number Diff line change
Expand Up @@ -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()) ->
Expand Down

0 comments on commit 26ff3c6

Please sign in to comment.