mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Added 2nd exception if theres other error types while playing the game
This commit is contained in:
@@ -107,6 +107,10 @@ class GrinchClient(BizHawkClient):
|
|||||||
# The connector didn't respond. Exit handler and return to main loop to reconnect
|
# 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))
|
logger.error("Failure to connect / authenticate the grinch. Error details: " + str(ex))
|
||||||
pass
|
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"):
|
async def location_checker(self, ctx: "BizHawkClientContext"):
|
||||||
from CommonClient import logger
|
from CommonClient import logger
|
||||||
|
Reference in New Issue
Block a user