mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-16 05:18:56 +00:00
Catch more websocket errors
This commit is contained in:
parent
6e7f6a94ec
commit
75d5f6507d
@ -376,7 +376,7 @@ class Compute:
|
||||
"""
|
||||
try:
|
||||
self._ws = yield from self._session().ws_connect(self._getUrl("/notifications/ws"), auth=self._auth)
|
||||
except aiohttp.errors.WSServerHandshakeError:
|
||||
except (aiohttp.errors.WSServerHandshakeError, aiohttp.errors.ClientResponseError):
|
||||
self._ws = None
|
||||
while self._ws is not None:
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user