diff --git a/supervisor/host/info.py b/supervisor/host/info.py index 554181c2f..a97b981ff 100644 --- a/supervisor/host/info.py +++ b/supervisor/host/info.py @@ -120,8 +120,7 @@ class InfoCenter(CoreSysAttributes): try: stdout, _ = await proc.communicate() except OSError as err: - _LOGGER.error("Can't read kernel log: %s", err) - raise HostError() from err + raise HostError(f"Can't read kernel log: {err}", _LOGGER.error) from err return stdout