Tweak exception message in yaml loader (#124841)
parent
eac7794741
commit
a4e9e4b23b
|
@ -385,7 +385,7 @@ def _include_yaml(loader: LoaderType, node: yaml.nodes.Node) -> JSON_TYPE:
|
|||
return _add_reference(loaded_yaml, loader, node)
|
||||
except FileNotFoundError as exc:
|
||||
raise HomeAssistantError(
|
||||
f"{node.start_mark}: Unable to read file {fname}."
|
||||
f"{node.start_mark}: Unable to read file {fname}"
|
||||
) from exc
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue