mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 01:38:21 +08:00
Opt: Save errors when zone locked in OpSi explore
This commit is contained in:
@@ -3,7 +3,7 @@ import numpy as np
|
||||
from module.config.utils import (get_os_next_reset,
|
||||
get_os_reset_remain,
|
||||
DEFAULT_TIME)
|
||||
from module.exception import RequestHumanTakeover, ScriptError
|
||||
from module.exception import RequestHumanTakeover, GameStuckError, ScriptError
|
||||
from module.logger import logger
|
||||
from module.map.map_grids import SelectedGrids
|
||||
from module.os.fleet import BossFleet
|
||||
@@ -266,7 +266,7 @@ class OperationSiren(OSMap):
|
||||
self.globe_goto(0)
|
||||
|
||||
logger.critical('Failed to solve the locked zone')
|
||||
raise RequestHumanTakeover
|
||||
raise GameStuckError
|
||||
|
||||
def clear_obscure(self):
|
||||
"""
|
||||
|
||||
@@ -151,7 +151,7 @@ class ProcessManager:
|
||||
|
||||
GameManager(config=config_name, task="GameManager").run()
|
||||
else:
|
||||
logger.critical("No function matched")
|
||||
logger.critical(f"No function matched: {func}")
|
||||
logger.info(f"[{config_name}] exited. Reason: Finish\n")
|
||||
except Exception as e:
|
||||
logger.exception(e)
|
||||
|
||||
Reference in New Issue
Block a user