You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for pointing me to the upcoming new release with the improved MessageHandler. It‘s good to have a DBusException instead of returning null in case of MessageHandler having problems sending a message via D-Bus. This will add good robustness to the library for cases where the whole D-Bus back-end fails.
I‘ll adopt your changes when they are released.
Anyway, kdewallet does not have the same challenges secret-service has concerning the handling of org.freedesktop.Secret.Errors within MessageHandler, as they just do not exist in the wallet / KDE context.
My new
MessageHandler
avoids returningnull
on my2.0.0
branch as this only leads to problems, if the case is not handled properly.kdewallet/src/main/java/org/freedesktop/dbus/handlers/MessageHandler.java
Lines 30 to 55 in acd9595
see: https://github.com/swiesend/secret-service/blob/c7399ea1f2d6031158a64a0459a066a35c7f9cbf/src/main/java/org/freedesktop/secret/handlers/MessageHandler.java#L34-L75
see also: swiesend/secret-service#6
The text was updated successfully, but these errors were encountered: