mirror of
https://github.com/wassname/ray.git
synced 2026-06-28 13:37:39 +08:00
[autoscaler] hotfix - swallowed error for missing yaml (#10212)
This commit is contained in:
@@ -136,10 +136,13 @@ def create_or_update_cluster(config_file: str,
|
||||
cli_logger.abort(
|
||||
"Provided cluster configuration file ({}) does not exist",
|
||||
cf.bold(config_file))
|
||||
raise
|
||||
except yaml.parser.ParserError as e:
|
||||
handle_yaml_error(e)
|
||||
raise
|
||||
except yaml.scanner.ScannerError as e:
|
||||
handle_yaml_error(e)
|
||||
raise
|
||||
|
||||
# todo: validate file_mounts, ssh keys, etc.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user