Dev: [ALAS] Log ScriptError as exception so traceback can be logged

This commit is contained in:
LmeSzinc 2024-05-30 12:20:56 +08:00
parent 1578913bbf
commit 456fed4b29

View File

@ -119,7 +119,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,