Give better error when include_webui=1 and webui can't be started. (#4471)

This commit is contained in:
Robert Nishihara
2019-03-26 14:54:32 -07:00
committed by Philipp Moritz
parent 7a9d1546d4
commit 8548f12eb2
2 changed files with 3 additions and 4 deletions
+1 -2
View File
@@ -924,10 +924,9 @@ def start_dashboard(redis_address,
import aiohttp # noqa: F401
import psutil # noqa: F401
except ImportError:
logger.warning(
raise ImportError(
"Failed to start the dashboard. The dashboard requires Python 3 "
"as well as 'pip install aiohttp psutil'.")
return None, None
process_info = start_ray_process(
command,