Use new format for logging exceptions - 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
