[gnome-software/wip/backport_merge_request_1409] flatpak: Mute "libflatpak failed to return application size" warning



commit 8397ccc09aaec4211f9f946580573631d335c605
Author: Milan Crha <mcrha redhat com>
Date:   Mon Jun 20 21:03:21 2022 +0200

    flatpak: Mute "libflatpak failed to return application size" warning
    
    It can happen when opening a .flatpakref file with filtered remote.

 plugins/flatpak/gs-flatpak.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/flatpak/gs-flatpak.c b/plugins/flatpak/gs-flatpak.c
index e22eac4d0..2e791dc79 100644
--- a/plugins/flatpak/gs-flatpak.c
+++ b/plugins/flatpak/gs-flatpak.c
@@ -2831,8 +2831,8 @@ gs_plugin_refine_item_size (GsFlatpak *self,
                                                                   &error_local);
 
                if (!ret) {
-                       g_warning ("libflatpak failed to return application "
-                                  "size: %s", error_local->message);
+                       /* This can happen when the remote is filtered */
+                       g_debug ("libflatpak failed to return application size: %s", error_local->message);
                        g_clear_error (&error_local);
                }
        }


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