Skip to content

zm,zb: Correctly convert zbus::Error::Method to DBusError impls

Zeeshan Ali Khan requested to merge zeenix/zbus:more-dbus-error-fixes into main

This brings back functionality dropped in 986de174, where started to convert zbus::Error to always convert to the fallthrough zbus_error variant. This would mean that proxies using fdo::Error (which is a DBusError) will not actually be able to make use of this error. The same would go for other DBusError impls as well. This is of course not nice.

So this commit fixes that by converting to the appropriate variant, if any.

Merge request reports

Loading