mirror of
https://github.com/TheFunny/ArisuAutoSweeper
synced 2026-10-17 12:22:23 +00:00
feat: save error log on ScriptError
This commit is contained in:
@@ -125,6 +125,7 @@ class AzurLaneAutoScript:
|
|||||||
except ScriptError as e:
|
except ScriptError as e:
|
||||||
logger.exception(e)
|
logger.exception(e)
|
||||||
logger.critical('This is likely to be a mistake of developers, but sometimes just random issues')
|
logger.critical('This is likely to be a mistake of developers, but sometimes just random issues')
|
||||||
|
self.save_error_log()
|
||||||
handle_notify(
|
handle_notify(
|
||||||
self.config.Error_OnePushConfig,
|
self.config.Error_OnePushConfig,
|
||||||
title=f"AAS <{self.config_name}> crashed",
|
title=f"AAS <{self.config_name}> crashed",
|
||||||
|
|||||||
Reference in New Issue
Block a user