diff options
author | Bastien Nocera <hadess@hadess.net> | 2016-06-08 15:49:42 +0200 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2016-06-09 11:55:41 +0200 |
commit | 54658d0c811adbcbebe652316cd1a2cb7814648e (patch) | |
tree | 88933e2606899ef1d0e8154b3459792778361c47 /monitor/afc | |
parent | df8a093dd55607c26cc15d1ce598eb8ca023f7cb (diff) | |
download | gvfs-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.c | 5 |
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) { |