[gnome-software/mwleeds/hardcoded-pwa-list] debug statements
- From: Phaedrus Leeds <mwleeds src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/mwleeds/hardcoded-pwa-list] debug statements
- Date: Thu, 10 Mar 2022 18:02:16 +0000 (UTC)
commit a51e6a725383649ed4aba9f5218da1b5428f3ef8
Author: Phaedrus Leeds <mwleeds protonmail com>
Date: Thu Mar 10 10:02:09 2022 -0800
debug statements
plugins/core/gs-plugin-appstream.c | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/plugins/core/gs-plugin-appstream.c b/plugins/core/gs-plugin-appstream.c
index 26cd30736..239318eb6 100644
--- a/plugins/core/gs-plugin-appstream.c
+++ b/plugins/core/gs-plugin-appstream.c
@@ -1022,6 +1022,9 @@ gs_plugin_refine_from_id (GsPluginAppstream *self,
xb_string_append_union (xpath, "components/component[@type='webapp']/id[text()='%s']/..", id);
}
xb_string_append_union (xpath, "component/id[text()='%s']/..", id);
+ g_debug ("Querying xpath string: %s", xpath->str);
+ g_autofree char *silo_str = xb_silo_to_string (self->silo);
+ g_debug ("Silo: %s\n", silo_str);
components = xb_silo_query (self->silo, xpath->str, 0, &error_local);
if (components == NULL) {
if (g_error_matches (error_local, G_IO_ERROR, G_IO_ERROR_NOT_FOUND))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]