From 7c6ffb3f49bbd75e7e509bbfa56da55dec128182 Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Wed, 12 Jul 2017 10:57:03 +0200 Subject: [PATCH] Update error message when invalid aiohttp --- gns3server/web/web_server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gns3server/web/web_server.py b/gns3server/web/web_server.py index 8a2f2ff9..9e17f0ba 100644 --- a/gns3server/web/web_server.py +++ b/gns3server/web/web_server.py @@ -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()