mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-06-18 07:18:18 +00:00
@ -370,6 +370,8 @@ class Compute:
|
|||||||
return
|
return
|
||||||
except aiohttp.web.HTTPNotFound:
|
except aiohttp.web.HTTPNotFound:
|
||||||
raise aiohttp.web.HTTPConflict(text="The server {} is not a GNS3 server or it's a 1.X server".format(self._id))
|
raise aiohttp.web.HTTPConflict(text="The server {} is not a GNS3 server or it's a 1.X server".format(self._id))
|
||||||
|
except aiohttp.web.HTTPUnauthorized:
|
||||||
|
raise aiohttp.web.HTTPConflict(text="Invalid auth for server {} ".format(self._id))
|
||||||
|
|
||||||
if "version" not in response.json:
|
if "version" not in response.json:
|
||||||
self._http_session.close()
|
self._http_session.close()
|
||||||
|
Reference in New Issue
Block a user