def _on_error(self, e):
"""
Called when an error happens by something this module called.
"""
if isinstance(e, gevent.Greenlet):
e = e.exception
self.client.on_module_error(self, e)
logger.exception("Exception raised %r", e)
评论列表
文章目录