mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-26 00:38:10 +00:00
parent
152807e654
commit
7302f65ffe
@ -134,6 +134,8 @@ class Docker(BaseManager):
|
|||||||
)
|
)
|
||||||
except (aiohttp.ClientResponseError, aiohttp.ClientOSError) as e:
|
except (aiohttp.ClientResponseError, aiohttp.ClientOSError) as e:
|
||||||
raise DockerError("Docker has returned an error: {}".format(str(e)))
|
raise DockerError("Docker has returned an error: {}".format(str(e)))
|
||||||
|
except (asyncio.TimeoutError):
|
||||||
|
raise DockerError("Docker timeout " + method + " " + path)
|
||||||
if response.status >= 300:
|
if response.status >= 300:
|
||||||
body = yield from response.read()
|
body = yield from response.read()
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user