25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-28 16:34:13 +01:00

Lower log level

This commit is contained in:
Evgeniy Khramtsov 2017-11-01 00:55:05 +03:00
parent 35b7203e01
commit 170be1fbd5

View File

@ -348,8 +348,8 @@ build_chain_and_check(State) ->
lists:foreach( lists:foreach(
fun({Cert, Why}) -> fun({Cert, Why}) ->
Path = maps:get(Cert, State#state.certs), Path = maps:get(Cert, State#state.certs),
?ERROR_MSG("Failed to validate certificate from ~s: ~s", ?WARNING_MSG("Failed to validate certificate from ~s: ~s",
[Path, format_error(Why)]) [Path, format_error(Why)])
end, Errors); end, Errors);
{error, Cert, Why} -> {error, Cert, Why} ->
Path = maps:get(Cert, State#state.certs), Path = maps:get(Cert, State#state.certs),