1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 06:18:21 +08:00

Opt: Show possible devices and packages when user had a wrong input

This commit is contained in:
LmeSzinc
2022-04-12 20:17:24 +08:00
parent a651a753a7
commit c251ef98b3
4 changed files with 40 additions and 1 deletions

View File

@@ -198,6 +198,7 @@ class Uiautomator2(Connection):
# BaseError: package "com.bilibili.azurlane" not found
logger.error(e)
possible_reasons(f'"{package_name}" not found, please check setting Emulator.PackageName')
self.show_packages()
raise RequestHumanTakeover
@retry