mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-12-19 12:57:56 +00:00
Update error message when invalid aiohttp
This commit is contained in:
parent
114b137b02
commit
7c6ffb3f49
@ -44,7 +44,7 @@ import logging
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
if not aiohttp.__version__.startswith("2.2"):
|
||||
raise RuntimeError("aiohttp 2.0 is required to run the GNS3 server")
|
||||
raise RuntimeError("aiohttp 2.2 is required to run the GNS3 server")
|
||||
|
||||
|
||||
class WebServer:
|
||||
@ -123,7 +123,7 @@ class WebServer:
|
||||
task.cancel()
|
||||
try:
|
||||
yield from asyncio.wait_for(task, 1)
|
||||
except:
|
||||
except BaseException:
|
||||
pass
|
||||
|
||||
self._loop.stop()
|
||||
|
Loading…
Reference in New Issue
Block a user