mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 19:27:45 +00:00
Remove 'UnicodeDecodeError' exception in AsusWrt (#59447)
This commit is contained in:
parent
4273e5b507
commit
cde6e007bf
@ -430,7 +430,7 @@ async def _get_nvram_info(api: AsusWrt, info_type: str) -> dict[str, Any]:
|
||||
info = {}
|
||||
try:
|
||||
info = await api.async_get_nvram(info_type)
|
||||
except (OSError, UnicodeDecodeError) as exc:
|
||||
except OSError as exc:
|
||||
_LOGGER.warning("Error calling method async_get_nvram(%s): %s", info_type, exc)
|
||||
|
||||
return info
|
||||
|
Loading…
x
Reference in New Issue
Block a user