core: move debug logging from _can_live_mount() functions to caller
authorLennart Poettering <lennart@poettering.net>
Wed, 16 Oct 2024 08:45:10 +0000 (10:45 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 16 Oct 2024 08:50:15 +0000 (10:50 +0200)
commitd24d546dd1e60b8703381f76075d673dafe92d47
tree66d09053bd494a06d2e14bed3f29b880ca8591ea
parentdc851222cd47b22af2d1bd56cc8a4903460e802e
core: move debug logging from _can_live_mount() functions to caller

Let's debug log the returned dbus error where we want the logging, but
don't log it, where we don't.

This removes the noisy logging from the property handler for the
CanLiveMount property, but keeps it in place for the MountImage() method
call where we want it.

Alternative to #34175

Follow-up for 5162829ec87df20c7af763bdf274735bf9e53552 and 1cafbecabecc619b4e147abd9925282d0ff323bd
src/core/dbus-service.c
src/core/service.c
src/core/unit.c