mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00:00 
			
		
		
		
	Add details when error loading package (#5603)
This commit is contained in:
		| @@ -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 | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user