diff --git a/edmond/bot.py b/edmond/bot.py index dc54bdc..3d67b13 100644 --- a/edmond/bot.py +++ b/edmond/bot.py @@ -118,8 +118,8 @@ class Bot(irc.client.SimpleIRCClient, Logger): self.start() except KeyboardInterrupt: self.log_i("Caught keyboard interrupt.") - except: # Yes, I know, who are you going to call? - self.log_i("Caught unhandled exception.") + except Exception as exc: # Yes, I know, who are you going to call? + self.log_c(f"Caught unhandled exception: {exc}") finally: self.cleanup()