diff options
Diffstat (limited to 'src/mod_http_fileserver.erl')
-rw-r--r-- | src/mod_http_fileserver.erl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mod_http_fileserver.erl b/src/mod_http_fileserver.erl index b3e75c495..d9805c1a2 100644 --- a/src/mod_http_fileserver.erl +++ b/src/mod_http_fileserver.erl @@ -310,10 +310,10 @@ process(LocalPath, #request{host = Host, auth = Auth, headers = RHeaders} = Requ add_to_log(FileSize, Code, Request#request{host = VHost}), {Code, Headers, Contents} catch _:{Why, _} when Why == noproc; Why == invalid_domain; Why == unregistered_route -> - ?ERROR_MSG("Received an HTTP request with Host: ~s, " - "but couldn't find the related " - "ejabberd virtual host", [Host]), - ejabberd_web:error(not_found) + ?DEBUG("Received an HTTP request with Host: ~s, " + "but couldn't find the related " + "ejabberd virtual host", [Host]), + ?HTTP_ERR_FILE_NOT_FOUND end. serve(LocalPath, Auth, DocRoot, DirectoryIndices, CustomHeaders, DefaultContentType, |