mirror of
https://github.com/owntone/owntone-server.git
synced 2025-04-01 10:13:45 -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);
|
ret = lstat(path, &sb);
|
||||||
if (ret < 0)
|
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");
|
httpd_send_error(req, HTTP_NOTFOUND, "Not Found");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user