From 1831356cee3cd5c72a937cb365d9bb0272b5c9b5 Mon Sep 17 00:00:00 2001 From: YoursFunny Date: Mon, 6 Jul 2026 00:34:04 +0800 Subject: [PATCH] fix: log ScriptError as exception so traceback can be logged --- module/alas.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/alas.py b/module/alas.py index 443ec38..6b777a1 100644 --- a/module/alas.py +++ b/module/alas.py @@ -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,