summaryrefslogtreecommitdiff
path: root/monitor/afc
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2016-06-08 15:49:42 +0200
committerBastien Nocera <hadess@hadess.net>2016-06-09 11:55:41 +0200
commit54658d0c811adbcbebe652316cd1a2cb7814648e (patch)
tree88933e2606899ef1d0e8154b3459792778361c47 /monitor/afc
parentdf8a093dd55607c26cc15d1ce598eb8ca023f7cb (diff)
downloadgvfs-54658d0c811adbcbebe652316cd1a2cb7814648e.tar.gz
afc: Add more debug when initialisation fails
https://bugzilla.gnome.org/show_bug.cgi?id=767399
Diffstat (limited to 'monitor/afc')
-rw-r--r--monitor/afc/afcvolume.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/monitor/afc/afcvolume.c b/monitor/afc/afcvolume.c
index e1731ee7..545d1f43 100644
--- a/monitor/afc/afcvolume.c
+++ b/monitor/afc/afcvolume.c
@@ -140,7 +140,10 @@ _g_vfs_afc_volume_update_metadata (GVfsAfcVolume *self)
} while (retries++ < 10);
if (err != IDEVICE_E_SUCCESS)
- return 0;
+ {
+ g_debug ("Failed to initialise an idevice_t (%d)\n", err);
+ return 0;
+ }
if (self->service != NULL)
{