Software /
code /
prosody-modules
Diff
mod_http_upload/mod_http_upload.lua @ 2191:e47046abf568
mod_http_upload: Add more logging
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 31 May 2016 17:10:46 +0200 |
parent | 2066:cb74e4ab13f0 |
child | 2192:bb8f7785aed7 |
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("^([^/]+)/([^/]+)$");