mirror of
https://github.com/TheFunny/ArisuAutoSweeper
synced 2026-10-16 14:42:05 +00:00
feat: add HandledError exception and log errors in alas.py
This commit is contained in:
@@ -119,6 +119,9 @@ class AzurLaneAutoScript:
|
||||
else:
|
||||
self.checker.wait_until_available()
|
||||
return False
|
||||
except HandledError as e:
|
||||
logger.error(e)
|
||||
return False
|
||||
except ScriptError as e:
|
||||
logger.critical(e)
|
||||
logger.critical('This is likely to be a mistake of developers, but sometimes just random issues')
|
||||
|
||||
Reference in New Issue
Block a user