def handle_exception(self, exception):
    if self.xmpp_message:
      self.xmpp_message.reply('Oops. Something went wrong.')
    super(XMPPBaseHandler, self).handle_exception(exception)
Called if this handler throws an exception during execution.
dataset/ETHPy150Open IanLewis/kay/kay/handlers/xmpp.py/XMPPBaseHandler.handle_exception