feat: save error log on ScriptError

This commit is contained in:
2026-07-06 22:40:41 +08:00
parent 4112509fe3
commit cf52a2fc2d
+1
View File
@@ -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",