From cc7ebb86b4c8582231753b2bef3d440c84d17878 Mon Sep 17 00:00:00 2001 From: Badlop Date: Tue, 4 Jan 2022 23:05:42 +0100 Subject: [PATCH] Fix Dialyzer, related to Luerl API update from 0.3 to 1.0 --- src/prosody2ejabberd.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/prosody2ejabberd.erl b/src/prosody2ejabberd.erl index 3992a4034..8f5c35f84 100644 --- a/src/prosody2ejabberd.erl +++ b/src/prosody2ejabberd.erl @@ -118,7 +118,7 @@ eval_file(Path) -> case luerl:eval(NewData, State1) of {ok, _} = Res -> Res; - {error, Why} = Err -> + {error, Why, _} = Err -> ?ERROR_MSG("Failed to eval ~ts: ~p", [Path, Why]), Err end;