From 8b34d1c134fc049e4e3e7ee8b9ac1b94a4a9edd2 Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Sun, 20 Nov 2016 18:09:32 +0900 Subject: [PATCH] Log IRC errors, typically missing package --- server/irc.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/irc.py b/server/irc.py index 0a39dd8..3a938cd 100644 --- a/server/irc.py +++ b/server/irc.py @@ -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