mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-19 15:16:33 +00:00
Use new format for logging exceptions - dbus/network/__init__.py (#3195)
This commit is contained in:
parent
800fb683f8
commit
5af62a8834
@ -126,8 +126,10 @@ class NetworkManager(DBusInterface):
|
||||
except (AwesomeVersionException, KeyError):
|
||||
pass
|
||||
|
||||
_LOGGER.error("Version '%s' of NetworkManager is not supported!", self.version)
|
||||
raise HostNotSupportedError()
|
||||
raise HostNotSupportedError(
|
||||
f"Version '{self.version}' of NetworkManager is not supported!",
|
||||
_LOGGER.error,
|
||||
)
|
||||
|
||||
@dbus_connected
|
||||
async def update(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user