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

Clarify some error/warning messages

This commit is contained in:
Evgeniy Khramtsov 2017-11-01 10:14:34 +03:00
parent 86809dff06
commit ae07fd7f10

View File

@ -201,7 +201,11 @@ handle_call({route_registered, Host}, _, State) ->
error -> error ->
?WARNING_MSG("No certificate found matching '~s': strictly " ?WARNING_MSG("No certificate found matching '~s': strictly "
"configured clients or servers will reject " "configured clients or servers will reject "
"connections with this host", [Host]) "connections with this host; obtain "
"a certificate for this (sub)domain from any "
"trusted CA such as Let's Encrypt "
"(www.letsencrypt.org)",
[Host])
end, end,
{reply, ok, NewState}; {reply, ok, NewState};
{error, _} -> {error, _} ->
@ -703,7 +707,10 @@ start_fs() ->
{error, {already_loaded, _}} -> true; {error, {already_loaded, _}} -> true;
{error, Reason} -> {error, Reason} ->
?ERROR_MSG("Failed to load 'fs' Erlang application: ~p; " ?ERROR_MSG("Failed to load 'fs' Erlang application: ~p; "
"certificates change detection will be disabled", "certificates change detection will be disabled. "
"You should now manually run `ejabberdctl "
"reload_config` whenever certificates are changed "
"on disc",
[Reason]), [Reason]),
false false
end. end.