mirror of
https://github.com/LmeSzinc/AzurLaneAutoScript.git
synced 2025-01-08 12:07:36 +08:00
Dev: [ALAS] Log ScriptError as exception so traceback can be logged
This commit is contained in:
parent
fdf28b2032
commit
f16d648d84
2
alas.py
2
alas.py
@ -105,7 +105,7 @@ class AzurLaneAutoScript:
|
||||
self.checker.wait_until_available()
|
||||
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,
|
||||
|
Loading…
Reference in New Issue
Block a user