Software /
code /
prosody-modules
Changeset
2191:e47046abf568
mod_http_upload: Add more logging
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 31 May 2016 17:10:46 +0200 |
parents | 2190:0c01444f8bc2 |
children | 2192:bb8f7785aed7 |
files | mod_http_upload/mod_http_upload.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_http_upload/mod_http_upload.lua Tue May 31 16:15:54 2016 +0200 +++ b/mod_http_upload/mod_http_upload.lua Tue May 31 17:10:46 2016 +0200 @@ -83,6 +83,7 @@ -- http service local function upload_data(event, path) if not pending_slots[path] then + module:log("warn", "Attempt to upload to unknown slot %q", path); return 401; end local random, filename = path:match("^([^/]+)/([^/]+)$");