diff options
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(_, _) -> "". %%%=================================================================== |