From e2def66522a635151fbd425f5bd853dc01d52e92 Mon Sep 17 00:00:00 2001 From: MarioSpore Date: Sat, 6 Sep 2025 19:43:57 -0400 Subject: [PATCH] Added comment explaining recently added except block --- worlds/grinch/Client.py | 1 + 1 file changed, 1 insertion(+) diff --git a/worlds/grinch/Client.py b/worlds/grinch/Client.py index da178bc7..1765b5cd 100644 --- a/worlds/grinch/Client.py +++ b/worlds/grinch/Client.py @@ -108,6 +108,7 @@ class GrinchClient(BizHawkClient): logger.error("Failure to connect / authenticate the grinch. Error details: " + str(ex)) pass except Exception as genericEx: + # For all other errors, catch this and let the client gracefully disconnect logger.error("Unknown error occurred while playing the grinch. Error details: " + str(genericEx)) await ctx.disconnect(False) pass