From 1241bc6d0372501d9b3ebc7ec27daf204ff727ca Mon Sep 17 00:00:00 2001 From: Tristan Sloughter Date: Tue, 12 Jan 2016 22:48:58 -0600 Subject: format filename as string in warning message --- src/rlx_app_discovery.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]); -- cgit v1.2.3