mirror of
https://github.com/GNS3/gns3-server
synced 2025-07-25 16:08:28 +00:00
parent
620de3ff25
commit
eff23eefe9
@ -484,6 +484,8 @@ class Compute:
|
|||||||
raise aiohttp.web.HTTPForbidden(text=msg)
|
raise aiohttp.web.HTTPForbidden(text=msg)
|
||||||
elif response.status == 404:
|
elif response.status == 404:
|
||||||
raise aiohttp.web.HTTPNotFound(text="{} {} not found".format(method, path))
|
raise aiohttp.web.HTTPNotFound(text="{} {} not found".format(method, path))
|
||||||
|
elif response.status == 408:
|
||||||
|
raise aiohttp.web.HTTPRequestTimeout(text="{} {} request timeout".format(method, path))
|
||||||
elif response.status == 409:
|
elif response.status == 409:
|
||||||
try:
|
try:
|
||||||
raise ComputeConflict(json.loads(body))
|
raise ComputeConflict(json.loads(body))
|
||||||
|
Loading…
Reference in New Issue
Block a user