# HG changeset patch # User Matthew Wild # Date 1335418229 -3600 # Node ID 3ce9e1ca9c15be88347006286ab307681ad86dce # Parent 63386138e3938e327e470685154ef8740890581e mod_http_files: Log 404 failure reason diff -r 63386138e393 -r 3ce9e1ca9c15 plugins/mod_http_files.lua --- 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");