From 21ce33731c429ef3feb2f91c4b4ad8930df8906e Mon Sep 17 00:00:00 2001 From: rebecca Date: Tue, 15 Sep 2026 17:48:13 +0100 Subject: attempt to catch intermittent xmpp bug --- xmpp/pylon.lua | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'xmpp') diff --git a/xmpp/pylon.lua b/xmpp/pylon.lua index e8f6e9e..930a54c 100644 --- a/xmpp/pylon.lua +++ b/xmpp/pylon.lua @@ -94,7 +94,12 @@ function Xmpp.recving(self) return t(self.sock:read'-2048') end for x in xml.stanzae(getmore) do + ::next:: self.log:debug(xmlify(x)) + if type(x) == 'string' then + self.log:warn("x was a string: ("..x..")") + goto next + end local body = x'body' and x'body'[1] if x.label == 'message' then local from_bare_jid, from_nick -- cgit v1.2.3