# HG changeset patch # User Thilo Cestonaro # Date 1259181381 -3600 # Node ID a54cc7bca826c30921ea3729ff99bdf0c4c65456 # Parent e172f02726d993f411f1ac8b314327ec16d2181e mod_proxy65: correct log level, be more descriptive diff -r e172f02726d9 -r a54cc7bca826 mod_proxy65/mod_proxy65.lua --- 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;