Changed start failure to print exception
This commit is contained in:
parent
452438dc07
commit
c58741fe7a
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user