mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 17:59:31 +02:00
Clarify some error/warning messages
This commit is contained in:
parent
86809dff06
commit
ae07fd7f10
1 changed files with 9 additions and 2 deletions
|
@ -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.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue