diff options
author | Tristan Sloughter <t@crashfast.com> | 2015-05-22 12:29:41 -0500 |
---|---|---|
committer | Tristan Sloughter <t@crashfast.com> | 2015-05-22 12:54:35 -0500 |
commit | 476a80c33ee0d835e58eae3b3bb396eae401b9ec (patch) | |
tree | e7ae0873e879bf92ac9f9c51926f34781cab9d16 /src | |
parent | be79d410935d790d921e074fcf7d6f1ec67cab55 (diff) |
format file read error in otp_app module
Diffstat (limited to 'src')
-rw-r--r-- | src/rebar_otp_app.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_otp_app.erl b/src/rebar_otp_app.erl index 82a5732..a8c2d62 100644 --- a/src/rebar_otp_app.erl +++ b/src/rebar_otp_app.erl @@ -54,7 +54,7 @@ compile(State, App) -> format_error({missing_app_file, Filename}) -> io_lib:format("App file is missing: ~s", [Filename]); format_error({file_read, File, Reason}) -> - io_lib:format("Failed to read app file ~s for processing: ~p", [File, Reason]); + io_lib:format("Failed to read app file ~s for processing: ~p", [File, file:format_error(Reason)]); format_error({invalid_name, File, AppName}) -> io_lib:format("Invalid ~s: name of application (~p) must match filename.", [File, AppName]). |