mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Humanize core config errors in check_config helper (#103635)
This commit is contained in:
@@ -151,7 +151,9 @@ async def async_check_ha_config_file( # noqa: C901
|
||||
core_config = CORE_CONFIG_SCHEMA(core_config)
|
||||
result[CONF_CORE] = core_config
|
||||
except vol.Invalid as err:
|
||||
result.add_error(err, CONF_CORE, core_config)
|
||||
result.add_error(
|
||||
_format_config_error(err, CONF_CORE, core_config)[0], CONF_CORE, core_config
|
||||
)
|
||||
core_config = {}
|
||||
|
||||
# Merge packages
|
||||
|
||||
Reference in New Issue
Block a user