mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 22:11:14 +02:00
Catch more websocket errors
This commit is contained in:
1 file changed
+1
-1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user