Skip to content

Commit 8ddae0a

Browse files
renew error message text
1 parent aa2c9eb commit 8ddae0a

File tree

1 file changed

+1
-3
lines changed
  • custom_components/npm_switches

1 file changed

+1
-3
lines changed

custom_components/npm_switches/api.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -270,9 +270,7 @@ async def renew_certificate(self, certificate_id: int) -> None:
270270
await self.get_certificates()
271271
elif "error" in response.keys():
272272
_LOGGER.error(
273-
"Error enabling host type %s host id %s. Error message: '%s'",
274-
host_type,
275-
host_id,
273+
"Error renewing certificate. Error message: '%s'",
276274
response["error"]["message"],
277275
)
278276

0 commit comments

Comments
 (0)