fix: log ScriptError as exception so traceback can be logged

This commit is contained in:
2026-07-06 22:40:29 +08:00
parent 7afc408587
commit 1831356cee
+1 -1
View File
@@ -123,7 +123,7 @@ class AzurLaneAutoScript:
logger.error(e)
return False
except ScriptError as e:
logger.critical(e)
logger.exception(e)
logger.critical('This is likely to be a mistake of developers, but sometimes just random issues')
handle_notify(
self.config.Error_OnePushConfig,