mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-24 13:32:22 +00:00
chore: Detach and close AUT on Attach Error added (#214)
This commit is contained in:
parent
285715be97
commit
898cfda832
@ -104,8 +104,8 @@ class AUT:
|
||||
return self
|
||||
except AssertionError as err:
|
||||
_logger.debug(err)
|
||||
self.detach().stop()
|
||||
if attempt:
|
||||
self.detach().stop()
|
||||
return self.launch(attempt-1)
|
||||
else:
|
||||
raise err
|
||||
|
Loading…
x
Reference in New Issue
Block a user