fixed non ignore errors path to actually interrupt

fixed cases where missing/inaccessible file gave exception, now you get nice error
This commit is contained in:
Brian Coca
2015-07-29 20:13:17 -04:00
parent 8153c34abf
commit 0e77871426
2 changed files with 20 additions and 16 deletions

View File

@@ -179,6 +179,7 @@ class Connection(ConnectionBase):
key_filename=key_filename,
password=self._play_context.password,
timeout=self._play_context.timeout,
compress=True,
port=port,
)
except Exception as e: