mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-29 02:08:10 +00:00
parent
0dc38a3970
commit
886329a978
@ -397,6 +397,8 @@ class Compute:
|
||||
raise aiohttp.web.HTTPConflict(text="Invalid auth for server {}".format(self._id))
|
||||
except aiohttp.web.HTTPServiceUnavailable:
|
||||
raise aiohttp.web.HTTPConflict(text="The server {} is unavailable".format(self._id))
|
||||
except ValueError:
|
||||
raise aiohttp.web.HTTPConflict(text="Invalid server url for server {}".format(self._id))
|
||||
|
||||
if "version" not in response.json:
|
||||
self._http_session.close()
|
||||
|
Loading…
Reference in New Issue
Block a user