25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-20 17:27:00 +01: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)]),
{Err, State}
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}
end.