aboutsummaryrefslogtreecommitdiffstats
path: root/src/rlx_prv_relup.erl
diff options
context:
space:
mode:
authorTristan Sloughter <[email protected]>2014-10-22 21:16:55 -0500
committerTristan Sloughter <[email protected]>2014-10-23 11:16:36 -0500
commit04ea67a7eded3cc296e27ce1a9ae766a638035df (patch)
tree5f375f981e537a332024f0d60901d9296676a0de /src/rlx_prv_relup.erl
parentc3b538199f387a536812fcaf57ccc46de48e88e9 (diff)
downloadrelx-04ea67a7eded3cc296e27ce1a9ae766a638035df.tar.gz
relx-04ea67a7eded3cc296e27ce1a9ae766a638035df.tar.bz2
relx-04ea67a7eded3cc296e27ce1a9ae766a638035df.zip
use providers PRV_ERROR and format_error/2
Diffstat (limited to 'src/rlx_prv_relup.erl')
-rw-r--r--src/rlx_prv_relup.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rlx_prv_relup.erl b/src/rlx_prv_relup.erl
index 3564dd0..df6f831 100644
--- a/src/rlx_prv_relup.erl
+++ b/src/rlx_prv_relup.erl
@@ -70,9 +70,9 @@ format_error({relup_script_generation_error,
{missing_sasl, _}}}, _) ->
"Unfortunately, due to requirements in systools, you need to have the sasl application "
"in both the current release and the release to upgrade from.";
-format_error({relup_script_generation_error, Module, Errors}, _) ->
+format_error({relup_script_generation_error, Module, Errors}, State) ->
["Errors generating relup \n",
- rlx_util:indent(2), Module:format_error(Errors)].
+ rlx_util:indent(2), Module:format_error(Errors, State)].
make_relup(State, Release) ->
Vsn = rlx_state:upfrom(State),