1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-25 00:08:11 +00:00

Catch timeout error when loading virtualbox VM

Fix #999
This commit is contained in:
Julien Duponchelle 2017-05-03 17:44:55 +02:00
parent ae3e25b03b
commit 7ba351c888
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, TimeoutError):
except (OSError, aiohttp.errors.ClientHttpProcessingError, TimeoutError, asyncio.TimeoutError):
pass
if resp: