Skip to content
Snippets Groups Projects
Commit cb3dab60 authored by Erik Reid's avatar Erik Reid
Browse files

also catch RpcError

parent ed0e5850
No related branches found
No related tags found
No related merge requests found
......@@ -115,7 +115,7 @@ def _rpc(hostname, ssh):
ssh_private_key_file=ssh['private-key'])
try:
dev.open()
except EzErrors.ConnectError as e:
except [EzErrors.ConnectError, EzErrors.RpcError] as e:
raise ConnectionError(str(e))
return dev.rpc
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment