projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39a201d
)
sessionmanager: Clarify log message when failing to write data to connection
author
Kim Alvefur
<zash@zash.se>
Wed, 4 Nov 2015 11:21:46 +0000
(12:21 +0100)
committer
Kim Alvefur
<zash@zash.se>
Wed, 4 Nov 2015 11:21:46 +0000
(12:21 +0100)
core/sessionmanager.lua
patch
|
blob
|
history
diff --git
a/core/sessionmanager.lua
b/core/sessionmanager.lua
index bc4d7cef230b47603a5694cb3384c646120ad6e6..f168c8e9594d156d3028e9d135fc4f5ef2065e9c 100644
(file)
--- a/
core/sessionmanager.lua
+++ b/
core/sessionmanager.lua
@@
-39,10
+39,9
@@
local function new_session(conn)
if t then
local ret, err = w(conn, t);
if not ret then
- session.log("error", "
Write-error
: %s", tostring(err));
- return false;
+ session.log("error", "
Error writing to connection
: %s", tostring(err));
+ return false
, err
;
end
- return true;
end
end
return true;