Update gdbus.py

This commit is contained in:
Pascal Vizeli 2018-04-20 16:01:43 +02:00 committed by GitHub
parent 0f4e557552
commit b2e3b726d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,7 +63,9 @@ class Dbus(object):
try:
data = await self._send(command)
except DBusError:
_LOGGER.w
_LOGGER.error(
"Dbus fails with %s on %s", method, self.object_path)
raise
# Parse and return data
return self._gvariant(data)