From 7e088dfacb7c71d0152bdb3a595057465382e706 Mon Sep 17 00:00:00 2001 From: James Lu Date: Mon, 29 Apr 2019 11:58:18 -0700 Subject: [PATCH] clientbot: log the entire args list when splitting /names reply fails (cherry picked from commit a8bb5f66e53c9d3d3f7872587b2c752ff8a1b16d) --- protocols/clientbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocols/clientbot.py b/protocols/clientbot.py index bfc3354..37f345d 100644 --- a/protocols/clientbot.py +++ b/protocols/clientbot.py @@ -692,7 +692,7 @@ class ClientbotWrapperProtocol(IRCCommonProtocol): try: nick, ident, host = utils.split_hostmask(nick) except ValueError: - log.exception('(%s) Failed to split hostmask %r from /names reply on %s', self.name, nick, channel) + log.exception('(%s) Failed to split hostmask %r from /names reply on %s; args=%s', self.name, nick, channel, args) # If error, leave nick unsplit # Get the PUID for the given nick. If one doesn't exist, spawn