diff --git a/api/bot.py b/api/bot.py index 942bbc3..2a9e2f2 100644 --- a/api/bot.py +++ b/api/bot.py @@ -290,7 +290,8 @@ class OreAlert: self.playerList.append(p) except KeyboardInterrupt: api.discord_notification("OreAlert has been stopped manually.") - except: + except Exception as e: + logger.exception("OreAlert has crashed") api.discord_notification("OreAlert has crashed!", ping=True)