[gnome-software/1699-crash-under-gs_plugin_flatpak_find_app_by_ref] flatpak: Mute "libflatpak failed to return application size" warning
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/1699-crash-under-gs_plugin_flatpak_find_app_by_ref] flatpak: Mute "libflatpak failed to return application size" warning
- Date: Mon, 20 Jun 2022 19:19:35 +0000 (UTC)
commit 51aa7d28c76af05989aa852e434c4b0f396c96dc
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 280b02b75..36833fb33 100644
--- a/plugins/flatpak/gs-flatpak.c
+++ b/plugins/flatpak/gs-flatpak.c
@@ -2829,8 +2829,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);
} else {
size_type = GS_SIZE_TYPE_VALID;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]