Log IRC errors, typically missing package

This commit is contained in:
Neil Booth 2016-11-20 18:09:32 +09:00
parent dd5a31d0f4
commit 8b34d1c134

View File

@ -55,6 +55,8 @@ class IRC(LoggedClass):
await self.join()
except asyncio.CancelledError:
pass
except Exception as e:
self.logger.error(str(e))
async def join(self):
import irc.client as irc_client