diff options
| author | rebecca <ubq323@ubq323.website> | 2026-09-15 17:48:13 +0100 |
|---|---|---|
| committer | rebecca <ubq323@ubq323.website> | 2026-09-15 17:48:13 +0100 |
| commit | 21ce33731c429ef3feb2f91c4b4ad8930df8906e (patch) | |
| tree | a636ddffebcc0ebead838fbb22a6c4f21a0a77ef | |
| parent | 30a53868140b8702a164a587baeaf276895298bf (diff) | |
attempt to catch intermittent xmpp bug
| -rw-r--r-- | xmpp/pylon.lua | 5 |
1 files changed, 5 insertions, 0 deletions
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 |
