diff options
author | Tristan Sloughter <[email protected]> | 2014-10-22 19:00:19 -0500 |
---|---|---|
committer | Tristan Sloughter <[email protected]> | 2014-10-22 19:00:19 -0500 |
commit | c3b538199f387a536812fcaf57ccc46de48e88e9 (patch) | |
tree | d388a9aca95fd775d0ce348c3cdbd8d6c44086c9 /src/rlx_prv_archive.erl | |
parent | 11fa012cdaea031c1fea34bcad49b6c6cbe2eedf (diff) | |
download | relx-c3b538199f387a536812fcaf57ccc46de48e88e9.tar.gz relx-c3b538199f387a536812fcaf57ccc46de48e88e9.tar.bz2 relx-c3b538199f387a536812fcaf57ccc46de48e88e9.zip |
include state in format_error/2
Diffstat (limited to 'src/rlx_prv_archive.erl')
-rw-r--r-- | src/rlx_prv_archive.erl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rlx_prv_archive.erl b/src/rlx_prv_archive.erl index 8370659..261a63e 100644 --- a/src/rlx_prv_archive.erl +++ b/src/rlx_prv_archive.erl @@ -26,7 +26,7 @@ -export([init/1, do/1, - format_error/1]). + format_error/2]). -include("relx.hrl"). @@ -57,13 +57,13 @@ do(State) -> OutputDir = rlx_state:output_dir(State), make_tar(State, Release, OutputDir). -format_error({tar_unknown_generation_error, Module, Vsn}) -> +format_error({tar_unknown_generation_error, Module, Vsn}, _) -> io_lib:format("Tarball generation error of ~s ~s", [Module, Vsn]); -format_error({tar_generation_warn, Module, Warnings}) -> +format_error({tar_generation_warn, Module, Warnings}, _) -> io_lib:format("Tarball generation warnings for ~p : ~p", [Module, Warnings]); -format_error({tar_generation_error, Module, Errors}) -> +format_error({tar_generation_error, Module, Errors}, _) -> io_lib:format("Tarball generation error for ~p reason ~p", [Module, Errors]). |