adb server启动失败时记录异常
This commit is contained in:
parent
bb889b1096
commit
9331980f80
1 changed files with 2 additions and 3 deletions
|
@ -117,9 +117,8 @@ class Client:
|
||||||
time.sleep(10)
|
time.sleep(10)
|
||||||
if self.check_server_alive(False):
|
if self.check_server_alive(False):
|
||||||
return True
|
return True
|
||||||
except (FileNotFoundError, subprocess.CalledProcessError):
|
except Exception as e:
|
||||||
return False
|
logger.exception(e)
|
||||||
else:
|
|
||||||
return False
|
return False
|
||||||
|
|
||||||
def session(self) -> Session:
|
def session(self) -> Session:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue