Catch Timeout error from VirtualBox GNS3 VM

Fix #864
This commit is contained in:
Julien Duponchelle 2017-01-11 15:49:36 +01:00
parent 720adb7721
commit 69d8ed5636
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

View File

@ -228,7 +228,7 @@ class VirtualBoxGNS3VM(BaseGNS3VM):
try:
resp = None
resp = yield from session.get('http://127.0.0.1:{}/v2/compute/network/interfaces'.format(api_port))
except (OSError, aiohttp.errors.ClientHttpProcessingError):
except (OSError, aiohttp.errors.ClientHttpProcessingError, TimeoutError):
pass
if resp: