From 73e9d9d57787a0eb0d8443bcc71335fa2ea72b5d Mon Sep 17 00:00:00 2001 From: MarioSpore Date: Sat, 6 Sep 2025 19:37:46 -0400 Subject: [PATCH] Added 2nd exception if theres other error types while playing the game --- worlds/grinch/Client.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/worlds/grinch/Client.py b/worlds/grinch/Client.py index a086c070..da178bc7 100644 --- a/worlds/grinch/Client.py +++ b/worlds/grinch/Client.py @@ -107,6 +107,10 @@ class GrinchClient(BizHawkClient): # The connector didn't respond. Exit handler and return to main loop to reconnect logger.error("Failure to connect / authenticate the grinch. Error details: " + str(ex)) pass + except Exception as genericEx: + logger.error("Unknown error occurred while playing the grinch. Error details: " + str(genericEx)) + await ctx.disconnect(False) + pass async def location_checker(self, ctx: "BizHawkClientContext"): from CommonClient import logger