# HG changeset patch # User Kim Alvefur # Date 1564446246 -7200 # Node ID 3fa3872588a89a66231f7d7cfa56c7cd3302839a # Parent c59d384b0959e5a703272ec8089d7236a71d6b5e util.session: Remove tostring call from logging Taken care of by loggingmanager now diff -r c59d384b0959 -r 3fa3872588a8 util/session.lua --- a/util/session.lua Tue Jul 30 02:23:44 2019 +0200 +++ b/util/session.lua Tue Jul 30 02:24:06 2019 +0200 @@ -31,7 +31,7 @@ local conn = session.conn; if not conn then function session.send(data) - session.log("debug", "Discarding data sent to unconnected session: %s", tostring(data)); + session.log("debug", "Discarding data sent to unconnected session: %s", data); return false; end return session; @@ -47,7 +47,7 @@ if t then local ret, err = w(conn, t); if not ret then - session.log("debug", "Error writing to connection: %s", tostring(err)); + session.log("debug", "Error writing to connection: %s", err); return false, err; end end