Software /
code /
prosody
Comparison
core/sessionmanager.lua @ 6916:d0ab0069145f
sessionmanager: Demote write error to debug message
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 05 Nov 2015 13:35:16 +0100 |
parent | 6915:9d74373d621e |
child | 7284:9434a220e549 |
comparison
equal
deleted
inserted
replaced
6915:9d74373d621e | 6916:d0ab0069145f |
---|---|
37 if t then | 37 if t then |
38 t = filter("bytes/out", tostring(t)); | 38 t = filter("bytes/out", tostring(t)); |
39 if t then | 39 if t then |
40 local ret, err = w(conn, t); | 40 local ret, err = w(conn, t); |
41 if not ret then | 41 if not ret then |
42 session.log("error", "Error writing to connection: %s", tostring(err)); | 42 session.log("debug", "Error writing to connection: %s", tostring(err)); |
43 return false, err; | 43 return false, err; |
44 end | 44 end |
45 end | 45 end |
46 end | 46 end |
47 return true; | 47 return true; |