[cli] Fix issues with logging unescaped strings (#9960)

This commit is contained in:
Maksim Smolin
2020-08-06 14:44:39 -07:00
committed by GitHub
parent fc9fc342cf
commit eace94d2dc
5 changed files with 23 additions and 13 deletions
+2 -1
View File
@@ -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).")