explicit logging

pull/58/head
Mallory Hancock 2019-02-22 13:15:31 -08:00
parent d8cdaae7b3
commit 8bcf296f2f
1 changed files with 2 additions and 1 deletions

View File

@ -196,7 +196,8 @@ class Bot(irc.bot.SingleServerIRCBot):
ops=self.ops, ops=self.ops,
logger=self.logger logger=self.logger
)) ))
self.logger.debug(output) self.logger.debug(output.event_type)
self.logger.debug(output.msg)
except Exception as e: except Exception as e:
self.logger.exception('issue with listener {}'.format(lstnr)) self.logger.exception('issue with listener {}'.format(lstnr))
return output return output