From c58741fe7a91969b49f6947faf015511549bc0df Mon Sep 17 00:00:00 2001 From: Channel Cat Date: Tue, 18 Oct 2016 16:50:14 -0700 Subject: [PATCH] Changed start failure to print exception --- sanic/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sanic/server.py b/sanic/server.py index 7379ade1..99032472 100644 --- a/sanic/server.py +++ b/sanic/server.py @@ -180,7 +180,7 @@ def serve(host, port, request_handler, after_start=None, before_stop=None, try: http_server = loop.run_until_complete(server_coroutine) except Exception as e: - log.error("Unable to start server: {}".format(e)) + log.exception("Unable to start server") return # Run the on_start function if provided