mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -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))
|
logger.error("Failure to connect / authenticate the grinch. Error details: " + str(ex))
|
||||||
pass
|
pass
|
||||||
except Exception as genericEx:
|
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))
|
logger.error("Unknown error occurred while playing the grinch. Error details: " + str(genericEx))
|
||||||
await ctx.disconnect(False)
|
await ctx.disconnect(False)
|
||||||
pass
|
pass
|
||||||
|
Reference in New Issue
Block a user