24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-08 21:43:07 +02:00

Don't forget to log an error message on IDNA failure

This commit is contained in:
Evgeny Khramtsov 2019-09-22 11:30:20 +03:00
parent a616cc04cb
commit 30346a56de

View File

@ -208,7 +208,10 @@ issue_request(State, Domains) ->
format_error(Reason)]), format_error(Reason)]),
{Err, State} {Err, State}
end; end;
{error, _} = Err -> {error, Reason} = Err ->
?ERROR_MSG("Failed to request certificate for ~s: ~s",
[misc:format_hosts_list(Domains),
format_error(Reason)]),
{Err, State} {Err, State}
end. end.