From 57c523e526797614d2efe0a9b67e30c0881e5c2c Mon Sep 17 00:00:00 2001 From: Mallory Hancock Date: Fri, 22 Feb 2019 13:25:22 -0800 Subject: [PATCH] more logging --- pinhook/bot.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pinhook/bot.py b/pinhook/bot.py index 1b7069d..d329926 100644 --- a/pinhook/bot.py +++ b/pinhook/bot.py @@ -201,6 +201,7 @@ class Bot(irc.bot.SingleServerIRCBot): self.logger.debug(output.msg) except Exception as e: self.logger.exception('issue with listener {}'.format(lstnr)) + self.logger.debug(f'returning output: {output.msg}') return output def process_event(self, c, e): @@ -238,6 +239,7 @@ class Bot(irc.bot.SingleServerIRCBot): } output = self.call_plugins(**plugin_info) if output: + self.logger.debug(f'sending output: {output.msg}') self.process_output(c, chan, output) def process_output(self, c, chan, output):