diff options
author | Kim Alvefur <zash@zash.se> | 2019-07-30 02:35:17 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2019-07-30 02:35:17 +0200 |
commit | 90b6787b47dfdbc825d8d821a717e8f2bd3b3f03 (patch) | |
tree | 393b21ff37fe75f1a9f2a27c7647d89760546ebb /net/connect.lua | |
parent | 2b8caf8dac9239ef94ec9f6d3d4424ce9b79d294 (diff) | |
download | prosody-90b6787b47dfdbc825d8d821a717e8f2bd3b3f03.tar.gz prosody-90b6787b47dfdbc825d8d821a717e8f2bd3b3f03.zip |
net.*: Remove tostring call from logging
Taken care of by loggingmanager now
Diffstat (limited to 'net/connect.lua')
-rw-r--r-- | net/connect.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/connect.lua b/net/connect.lua index b812ffcd..d4de6fb4 100644 --- a/net/connect.lua +++ b/net/connect.lua @@ -38,7 +38,7 @@ local function attempt_connection(p) p:log("debug", "Next target to try is %s:%d", ip, port); local conn, err = server.addclient(ip, port, pending_connection_listeners, p.options.pattern or "*a", p.options.sslctx, conn_type, extra); if not conn then - log("debug", "Connection attempt failed immediately: %s", tostring(err)); + log("debug", "Connection attempt failed immediately: %s", err); p.last_error = err or "unknown reason"; return attempt_connection(p); end |