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_discover.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_discover.erl')
-rw-r--r-- | src/rlx_prv_discover.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rlx_prv_discover.erl b/src/rlx_prv_discover.erl index 520cf15..41e3993 100644 --- a/src/rlx_prv_discover.erl +++ b/src/rlx_prv_discover.erl @@ -27,7 +27,7 @@ -export([init/1, do/1, - format_error/1]). + format_error/2]). -include("relx.hrl"). @@ -72,8 +72,8 @@ do(State0) -> %% @doc this is here to comply with the signature. However, we do not actually %% produce any errors and so simply return an empty string. --spec format_error(any()) -> iolist(). -format_error(_) -> +-spec format_error(any(), rlx_state:t()) -> iolist(). +format_error(_, _) -> "". %%%=================================================================== |