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