mirror of
https://github.com/home-assistant/core.git
synced 2025-07-27 15:17:35 +00:00
Tweak exception message in yaml loader (#124841)
This commit is contained in:
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…
x
Reference in New Issue
Block a user