Mercurial > prosody-modules
changeset 98:a54cc7bca826
mod_proxy65: correct log level, be more descriptive
author | Thilo Cestonaro <thilo@cestona.ro> |
---|---|
date | Wed, 25 Nov 2009 21:36:21 +0100 (2009-11-25) |
parents | e172f02726d9 |
children | 2d03350613c4 |
files | mod_proxy65/mod_proxy65.lua |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_proxy65/mod_proxy65.lua Wed Nov 25 20:13:56 2009 +0100 +++ b/mod_proxy65/mod_proxy65.lua Wed Nov 25 21:36:21 2009 +0100 @@ -246,7 +246,8 @@ if reply ~= nil and from ~= nil and to ~= nil and sid ~= nil then local sha = sha1(sid .. from .. to, true); if transfers[sha] == nil then - module:log("error", "transfers[sha]: nil"); + module:log("warn", "Recieved request to activate transfer with no participants"); + module:log("debug", "The sha1 of the transfer which should be activated was: %s", sha); elseif(transfers[sha] ~= nil and transfers[sha].initiator ~= nil and transfers[sha].target ~= nil) then origin.send(reply); transfers[sha].activated = true;