More useful message on services.yaml parse error (#103847)
parent
bb63da764e
commit
adcd4e59cf
|
@ -549,9 +549,11 @@ def _load_services_file(hass: HomeAssistant, integration: Integration) -> JSON_T
|
|||
"Unable to find services.yaml for the %s integration", integration.domain
|
||||
)
|
||||
return {}
|
||||
except (HomeAssistantError, vol.Invalid):
|
||||
except (HomeAssistantError, vol.Invalid) as ex:
|
||||
_LOGGER.warning(
|
||||
"Unable to parse services.yaml for the %s integration", integration.domain
|
||||
"Unable to parse services.yaml for the %s integration: %s",
|
||||
integration.domain,
|
||||
ex,
|
||||
)
|
||||
return {}
|
||||
|
||||
|
|
Loading…
Reference in New Issue