diff --git a/daemon/openrazer_daemon/hardware/device_base.py b/daemon/openrazer_daemon/hardware/device_base.py index 3c37154f479571d5fbc0ccd934ed01e2f8301f05..d3a584bae7f10e9cff4407049ef356c457f272bc 100644 --- a/daemon/openrazer_daemon/hardware/device_base.py +++ b/daemon/openrazer_daemon/hardware/device_base.py @@ -806,8 +806,7 @@ class RazerDevice(DBusService): self.logger.debug("Adding %s.%s method to DBus", new_function.interface, new_function.name) self.add_dbus_method(new_function.interface, new_function.name, new_function, new_function.in_sig, new_function.out_sig, new_function.byte_arrays) except KeyError as e: - self.logger.warning("Couldn't add method to DBus: %s", e) - pass + raise RuntimeError("Couldn't add method to DBus: " + str(e)) from None def suspend_device(self): """