[grilo-plugins/wip/jfelder/musicbrainz-release-group-coverart: 3/6] lua-factory: Change warning message to debug in fetch_done()



commit 32472ff84006494634a14bb1a92f4fcc024823de
Author: Jean Felder <jfelder src gnome org>
Date:   Fri Jul 27 11:10:02 2018 +0200

    lua-factory: Change warning message to debug in fetch_done()
    
    The fetch operation can now be used to test if the requested url is
    valid without displaying a warning message.

 src/lua-factory/grl-lua-library.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/lua-factory/grl-lua-library.c b/src/lua-factory/grl-lua-library.c
index ef660bb..17677e8 100644
--- a/src/lua-factory/grl-lua-library.c
+++ b/src/lua-factory/grl-lua-library.c
@@ -585,7 +585,7 @@ grl_util_fetch_done (GObject *source_object,
 
   if (err != NULL) {
     if (!cancelled)
-      GRL_WARNING ("Can't fetch element %d (URL: %s): '%s'", fo->index + 1, fo->url, err->message);
+      GRL_DEBUG ("Can't fetch element %d (URL: %s): '%s'", fo->index + 1, fo->url, err->message);
     g_clear_error (&err);
   } else {
     GRL_DEBUG ("fetch_done element %d of %d urls", fo->index + 1, fo->num_urls);


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