mirror of
https://github.com/owntone/owntone-server.git
synced 2025-03-27 16:00:58 -04:00
[httpd] Lower log level if file is not found
This commit is contained in:
parent
f6074b38e6
commit
ae3e0b6bf5
@ -370,7 +370,7 @@ serve_file(struct evhttp_request *req, const char *uri)
|
||||
ret = lstat(path, &sb);
|
||||
if (ret < 0)
|
||||
{
|
||||
DPRINTF(E_LOG, L_HTTPD, "Could not lstat() %s: %s\n", path, strerror(errno));
|
||||
DPRINTF(E_WARN, L_HTTPD, "Could not lstat() %s: %s\n", path, strerror(errno));
|
||||
|
||||
httpd_send_error(req, HTTP_NOTFOUND, "Not Found");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user