[gupnp-tools] av-cp: Add error annotation on what exactly failed



commit d37fafaba88067a2331be65671819a57ff218828
Author: Jens Georg <mail jensge org>
Date:   Tue Jan 17 14:40:28 2012 +0100

    av-cp: Add error annotation on what exactly failed

 src/av-cp/playlist-treeview.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/av-cp/playlist-treeview.c b/src/av-cp/playlist-treeview.c
index 52bdc86..51353d8 100644
--- a/src/av-cp/playlist-treeview.c
+++ b/src/av-cp/playlist-treeview.c
@@ -804,7 +804,9 @@ browse_cb (GUPnPServiceProxy       *content_dir,
                 if (!gupnp_didl_lite_parser_parse_didl (parser,
                                                         didl_xml,
                                                         &error)) {
-                        g_warning ("%s", error->message);
+                        g_warning ("Error while browsing %s: %s",
+                                   data->id,
+                                   error->message);
                         g_error_free (error);
                 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]