plugins/mod_http_files.lua
changeset 4701 3ce9e1ca9c15
parent 4700 63386138e393
child 4703 684ea42ca77a
--- a/plugins/mod_http_files.lua	Thu Apr 26 06:10:14 2012 +0100
+++ b/plugins/mod_http_files.lua	Thu Apr 26 06:30:29 2012 +0100
@@ -58,6 +58,7 @@
 	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");