[gnome-builder/wip/chergert/flatpak-repo: 23/29] flatpak: include ref name in warning message




commit c1d53b1aeb77f38ae8982064ebbe486311d20cab
Author: Christian Hergert <chergert redhat com>
Date:   Wed Aug 25 13:45:37 2021 -0700

    flatpak: include ref name in warning message

 src/plugins/flatpak/daemon/ipc-flatpak-service-impl.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/plugins/flatpak/daemon/ipc-flatpak-service-impl.c 
b/src/plugins/flatpak/daemon/ipc-flatpak-service-impl.c
index 55618f470..e42bc5bcd 100644
--- a/src/plugins/flatpak/daemon/ipc-flatpak-service-impl.c
+++ b/src/plugins/flatpak/daemon/ipc-flatpak-service-impl.c
@@ -985,7 +985,8 @@ ipc_flatpak_service_impl_install (IpcFlatpakService     *service,
           g_dbus_method_invocation_return_error (g_steal_pointer (&invocation),
                                                  G_DBUS_ERROR,
                                                  G_DBUS_ERROR_FAILED,
-                                                 "No configured remote contains ref");
+                                                 "No configured remote contains ref \"%s\"",
+                                                 full_ref_names[i]);
           return TRUE;
         }
 


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