mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 10:58:21 +08:00
Opt: Better tips when having wrong configs
This commit is contained in:
@@ -603,4 +603,6 @@ class ConfigTypeChecker:
|
||||
logger.critical(f'Task `{func}` has an invalid setting {".".join(path)}="{str(value)}". '
|
||||
f'Current type: {type_to_str(value)}, expected type: {type_to_str(typ)}')
|
||||
logger.critical('Please check your settings')
|
||||
raise RequestHumanTakeover
|
||||
raise RequestHumanTakeover(
|
||||
f'Task `{func}` has an invalid setting {".".join(path)}="{str(value)}". '
|
||||
f'Current type: {type_to_str(value)}, expected type: {type_to_str(typ)}')
|
||||
|
||||
Reference in New Issue
Block a user