Mercurial > prosody-hg
diff net/connect.lua @ 10112:b327f2870382
net.*: Remove tostring call from logging
Taken care of by loggingmanager now
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Tue, 30 Jul 2019 02:35:17 +0200 |
| parents | 33e52f727f0f |
| children | fa11070c2cd7 |
line wrap: on
line diff
--- a/net/connect.lua Tue Jul 30 02:29:36 2019 +0200 +++ b/net/connect.lua Tue Jul 30 02:35:17 2019 +0200 @@ -38,7 +38,7 @@ 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
