mirror of
https://github.com/TheFunny/ArisuAutoSweeper
synced 2026-10-20 11:52:07 +00:00
fix: log ScriptError as exception so traceback can be logged
This commit is contained in:
+1
-1
@@ -123,7 +123,7 @@ class AzurLaneAutoScript:
|
|||||||
logger.error(e)
|
logger.error(e)
|
||||||
return False
|
return False
|
||||||
except ScriptError as e:
|
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')
|
logger.critical('This is likely to be a mistake of developers, but sometimes just random issues')
|
||||||
handle_notify(
|
handle_notify(
|
||||||
self.config.Error_OnePushConfig,
|
self.config.Error_OnePushConfig,
|
||||||
|
|||||||
Reference in New Issue
Block a user