Changed start failure to print exception

This commit is contained in:
Channel Cat 2016-10-18 16:50:14 -07:00 committed by GitHub
parent 452438dc07
commit c58741fe7a

View File

@ -180,7 +180,7 @@ def serve(host, port, request_handler, after_start=None, before_stop=None,
try: try:
http_server = loop.run_until_complete(server_coroutine) http_server = loop.run_until_complete(server_coroutine)
except Exception as e: except Exception as e:
log.error("Unable to start server: {}".format(e)) log.exception("Unable to start server")
return return
# Run the on_start function if provided # Run the on_start function if provided