aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_http_files.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_http_files.lua b/plugins/mod_http_files.lua
index c5859283..9d5aa252 100644
--- a/plugins/mod_http_files.lua
+++ b/plugins/mod_http_files.lua
@@ -58,6 +58,7 @@ function serve_file(event, path)
end
local f, err = open(full_path, "rb");
if not f then
+ module:log("warn", "Failed to open file: %s", err);
return 404;
end
local data = f:read("*a");