From d1fefce61c6e4dc5b712af4816016bfde89eb022 Mon Sep 17 00:00:00 2001 From: Nicolas Delaby Date: Fri, 28 Apr 2017 20:06:44 +0200 Subject: [PATCH] fixup! In case of error when starting sanic --- sanic/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sanic/app.py b/sanic/app.py index f6f54b38..72e57058 100644 --- a/sanic/app.py +++ b/sanic/app.py @@ -570,7 +570,7 @@ class Sanic: serve(**server_settings) else: serve_multiple(server_settings, workers) - except Exception: + except: log.exception( 'Experienced exception while trying to serve') raise