mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 12:11:33 -06:00
Added comment explaining recently added except block
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user