From 8bcf296f2ffdd05fcbfceeb4fab7e32e49329de5 Mon Sep 17 00:00:00 2001 From: Mallory Hancock Date: Fri, 22 Feb 2019 13:15:31 -0800 Subject: [PATCH] explicit logging --- pinhook/bot.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pinhook/bot.py b/pinhook/bot.py index d3758ed..d48b73e 100644 --- a/pinhook/bot.py +++ b/pinhook/bot.py @@ -196,7 +196,8 @@ class Bot(irc.bot.SingleServerIRCBot): ops=self.ops, logger=self.logger )) - self.logger.debug(output) + self.logger.debug(output.event_type) + self.logger.debug(output.msg) except Exception as e: self.logger.exception('issue with listener {}'.format(lstnr)) return output