Log warnings in Renault initialisation (#114445)
parent
63ccdcb786
commit
60d545e5f9
|
@ -125,16 +125,16 @@ class RenaultVehicleProxy:
|
|||
coordinator = self.coordinators[key]
|
||||
if coordinator.not_supported:
|
||||
# Remove endpoint as it is not supported for this vehicle.
|
||||
LOGGER.info(
|
||||
"Ignoring endpoint %s as it is not supported for this vehicle: %s",
|
||||
LOGGER.warning(
|
||||
"Ignoring endpoint %s as it is not supported: %s",
|
||||
coordinator.name,
|
||||
coordinator.last_exception,
|
||||
)
|
||||
del self.coordinators[key]
|
||||
elif coordinator.access_denied:
|
||||
# Remove endpoint as it is denied for this vehicle.
|
||||
LOGGER.info(
|
||||
"Ignoring endpoint %s as it is denied for this vehicle: %s",
|
||||
LOGGER.warning(
|
||||
"Ignoring endpoint %s as it is denied: %s",
|
||||
coordinator.name,
|
||||
coordinator.last_exception,
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue