# HG changeset patch # User Kim Alvefur # Date 1626000092 -7200 # Node ID 7f6c816a2c09ea304992af58a154d43a53857432 # Parent bca75f34d3743eaa4fc0c2fe07fbe977b8de7852 mod_s2s: Log debug message on attempted close of an connectionless session This should probably never happen, but probably does anyways. A debug message would show the truth of the matter. diff -r bca75f34d374 -r 7f6c816a2c09 plugins/mod_s2s.lua --- a/plugins/mod_s2s.lua Sun Jul 11 12:37:51 2021 +0200 +++ b/plugins/mod_s2s.lua Sun Jul 11 12:41:32 2021 +0200 @@ -553,6 +553,7 @@ local function session_close(session, reason, remote_reason, bounce_reason) local log = session.log or log; if not session.conn then + log("debug", "Attempt to close without associated connection with reason %q", reason); return end