aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTristan Sloughter <[email protected]>2016-01-12 22:48:58 -0600
committerTristan Sloughter <[email protected]>2016-01-12 22:48:58 -0600
commit1241bc6d0372501d9b3ebc7ec27daf204ff727ca (patch)
tree7329ccc01809a2b7aa36e30002b324ec8ec51530
parentdd0760a120973099afa71b583e7b99c9b1632098 (diff)
downloadrelx-1241bc6d0372501d9b3ebc7ec27daf204ff727ca.tar.gz
relx-1241bc6d0372501d9b3ebc7ec27daf204ff727ca.tar.bz2
relx-1241bc6d0372501d9b3ebc7ec27daf204ff727ca.zip
format filename as string in warning message
-rw-r--r--src/rlx_app_discovery.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rlx_app_discovery.erl b/src/rlx_app_discovery.erl
index 0d8d611..dcd2604 100644
--- a/src/rlx_app_discovery.erl
+++ b/src/rlx_app_discovery.erl
@@ -164,7 +164,7 @@ resolve_override(AppName, FileName0) ->
-spec format_detail(ErrorDetail::term()) -> iolist().
format_detail({missing_beam_file, Module, BeamFile}) ->
- io_lib:format("Missing beam file ~p ~p", [Module, BeamFile]);
+ io_lib:format("Missing beam file ~p ~s", [Module, BeamFile]);
format_detail({error, {invalid_override, AppName, FileName}}) ->
io_lib:format("Override {~p, ~p} is not a valid OTP App. Perhaps you forgot to build it?",
[AppName, FileName]);