mirror of
https://github.com/wassname/ray.git
synced 2026-08-12 12:20:11 +08:00
[cli] Fix issues with logging unescaped strings (#9960)
This commit is contained in:
@@ -271,7 +271,8 @@ def teardown_cluster(config_file: str, yes: bool, workers_only: bool,
|
||||
port_forward=None,
|
||||
with_output=False)
|
||||
except Exception as e:
|
||||
cli_logger.verbose_error(e) # todo: add better exception info
|
||||
# todo: add better exception info
|
||||
cli_logger.verbose_error("{}", str(e))
|
||||
cli_logger.warning(
|
||||
"Exception occured when stopping the cluster Ray runtime "
|
||||
"(use -v to dump teardown exceptions).")
|
||||
|
||||
Reference in New Issue
Block a user