Added 2nd exception if theres other error types while playing the game

This commit is contained in:
MarioSpore
2025-09-06 19:37:46 -04:00
parent a5d7ff65c1
commit 73e9d9d577

View File

@@ -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