Update error message when invalid aiohttp

pull/1123/head
Julien Duponchelle 7 years ago
parent 114b137b02
commit 7c6ffb3f49
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

@ -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…
Cancel
Save