25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +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(
fun({Cert, Why}) ->
Path = maps:get(Cert, State#state.certs),
?ERROR_MSG("Failed to validate certificate from ~s: ~s",
[Path, format_error(Why)])
?WARNING_MSG("Failed to validate certificate from ~s: ~s",
[Path, format_error(Why)])
end, Errors);
{error, Cert, Why} ->
Path = maps:get(Cert, State#state.certs),