diff options
author | Jordan Wilberding <[email protected]> | 2014-11-03 13:02:18 -0800 |
---|---|---|
committer | Jordan Wilberding <[email protected]> | 2014-11-03 13:02:18 -0800 |
commit | 9d550533bb1440e93f4a014cb6303f427a51f2dc (patch) | |
tree | 346016bc34896d7919806ee2e3fa05564c4283a1 /src/rlx_prv_archive.erl | |
parent | 5368a5cd945aa3dd0723258cdad051aa8f7b4920 (diff) | |
parent | 04ea67a7eded3cc296e27ce1a9ae766a638035df (diff) | |
download | relx-9d550533bb1440e93f4a014cb6303f427a51f2dc.tar.gz relx-9d550533bb1440e93f4a014cb6303f427a51f2dc.tar.bz2 relx-9d550533bb1440e93f4a014cb6303f427a51f2dc.zip |
Merge pull request #236 from tsloughter/format_error2
Some changes for providers as I work on rebar3
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]). |