aboutsummaryrefslogtreecommitdiff
path: root/src/web/mod_http_fileserver.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/mod_http_fileserver.erl')
-rw-r--r--src/web/mod_http_fileserver.erl2
1 files changed, 2 insertions, 0 deletions
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.