mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-16 14:33:00 +00:00
service.start is not a coroutine
don’t yield it
This commit is contained in:
@@ -1439,7 +1439,7 @@ class JupyterHub(Application):
|
||||
|
||||
for service_name, service in self._service_map.items():
|
||||
try:
|
||||
yield service.start()
|
||||
service.start()
|
||||
except Exception as e:
|
||||
self.log.critical("Failed to start service %s", service_name, exc_info=True)
|
||||
self.exit(1)
|
||||
|
Reference in New Issue
Block a user