diff options
author | Benjamin Berg <bberg@redhat.com> | 2021-07-30 22:35:38 +0200 |
---|---|---|
committer | Benjamin Berg <bberg@redhat.com> | 2021-07-30 23:52:00 +0200 |
commit | 2bf6d6a266f3573b76c10597b2c0837a8ccc3574 (patch) | |
tree | 04361e23482377513910960e0577e716a95e47bd | |
parent | be45b44337193b13b299e28d008f1135c306f654 (diff) |
device: Print error if deletion fails during garbage collection
-rw-r--r-- | src/device.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/device.c b/src/device.c index 40bfa2c..c375640 100644 --- a/src/device.c +++ b/src/device.c @@ -1936,7 +1936,8 @@ enroll_identify_cb (FpDevice *dev, GAsyncResult *res, void *user_data) priv->current_cancellable, &error)) { - g_warning ("Failed to garbage collect duplicate print, cannot continue with enroll."); + g_warning ("Failed to garbage collect duplicate print, cannot continue with enroll: %s", + error->message); g_signal_emit (rdev, signals[SIGNAL_ENROLL_STATUS], 0, "enroll-duplicate", TRUE); stoppable_action_completed (rdev); |