mirror of
https://github.com/bjc/prosody.git
synced 2025-04-07 07:07:38 +03:00
Hopefully inert commit to clean up logging across a number of modules, removing all cases of concatenation when building log messages
This commit is contained in:
parent
ff043a930b
commit
e808645b53
11 changed files with 37 additions and 39 deletions
|
@ -124,7 +124,7 @@ local xmlns_xmpp_streams = "urn:ietf:params:xml:ns:xmpp-streams";
|
|||
|
||||
function stream_callbacks.error(session, error, data, data2)
|
||||
if session.destroyed then return; end
|
||||
module:log("warn", "Error processing component stream: "..tostring(error));
|
||||
module:log("warn", "Error processing component stream: %s", tostring(error));
|
||||
if error == "no-stream" then
|
||||
session:close("invalid-namespace");
|
||||
elseif error == "parse-error" then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue