mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 17:27:10 +00:00
Pass the message as an exception argument in Tractive integration (#118534)
Pass the message as an exception argument Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
This commit is contained in:
parent
cb502263fd
commit
cdcf091c9c
@ -149,11 +149,9 @@ async def _generate_trackables(
|
||||
)
|
||||
|
||||
if not tracker_details.get("_id"):
|
||||
_LOGGER.info(
|
||||
"Tractive API returns incomplete data for tracker %s",
|
||||
trackable["device_id"],
|
||||
raise ConfigEntryNotReady(
|
||||
f"Tractive API returns incomplete data for tracker {trackable['device_id']}",
|
||||
)
|
||||
raise ConfigEntryNotReady
|
||||
|
||||
return Trackables(tracker, trackable, tracker_details, hw_info, pos_report)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user