forked from drath/libratbag
Make sure we log an error if any of these fail, because most really never should, they're scaffolding we rely on to send the data. Some of these calls (the *_read() ones) could fail if a client sends wrong data, but we might as well log that. This patch only wraps calls that reply on the bus, normal sd_bus_* calls that we catch the error ourselves are handled as before. Likewise, any errors from libratbag are left as-is. We somewhat rely on libratbag to log something and such errors are not a failure of the actual scaffolding. This should make errors like https://github.com/libratbag/piper/issues/237 easier to debug. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>