mirror of
https://github.com/esphome/esphome.git
synced 2024-12-22 13:34:54 +01:00
Add details when error loading package (#5603)
This commit is contained in:
parent
6b8a75d3b8
commit
f6e8d97981
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ def _process_base_package(config: dict) -> dict:
|
|||
packages[file] = new_yaml
|
||||
except EsphomeError as e:
|
||||
raise cv.Invalid(
|
||||
f"{file} is not a valid YAML file. Please check the file contents."
|
||||
f"{file} is not a valid YAML file. Please check the file contents.\n{e}"
|
||||
) from e
|
||||
return packages
|
||||
|
||||
|
|
Loading…
Reference in a new issue