diff --git a/src/web/mod_http_fileserver.erl b/src/web/mod_http_fileserver.erl index 839964052..4f683ea91 100644 --- a/src/web/mod_http_fileserver.erl +++ b/src/web/mod_http_fileserver.erl @@ -299,6 +299,8 @@ process(LocalPath, Request) -> {Code, Headers, Contents} catch exit:{noproc, _} -> + ?ERROR_MSG("Received an HTTP request with Host ~p, but couldn't find the related " + "ejabberd virtual host", [Request#request.host]), ejabberd_web:error(not_found) end.