device: Print error if deletion fails during garbage collection

This commit is contained in:
Benjamin Berg
2021-07-30 22:35:38 +02:00
parent be45b44337
commit 2bf6d6a266

View File

@ -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);