[gnome-software/wip/mcrha/ci-test] more debug prints, in gs-flatpak-transaction
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/mcrha/ci-test] more debug prints, in gs-flatpak-transaction
- Date: Wed, 16 Mar 2022 15:07:06 +0000 (UTC)
commit a46caf725c41863090e01416ed5dbaafa45055ab
Author: Milan Crha <mcrha redhat com>
Date: Wed Mar 16 16:06:41 2022 +0100
more debug prints, in gs-flatpak-transaction
plugins/flatpak/gs-flatpak-transaction.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/plugins/flatpak/gs-flatpak-transaction.c b/plugins/flatpak/gs-flatpak-transaction.c
index 7377f6d48..efcafd6f3 100644
--- a/plugins/flatpak/gs-flatpak-transaction.c
+++ b/plugins/flatpak/gs-flatpak-transaction.c
@@ -102,9 +102,13 @@ gs_flatpak_transaction_run (FlatpakTransaction *transaction,
GsFlatpakTransaction *self = GS_FLATPAK_TRANSACTION (transaction);
g_autoptr(GError) error_local = NULL;
+ g_message (" zzz %s: %d\n", __FUNCTION__, __LINE__);
if (!flatpak_transaction_run (transaction, cancellable, &error_local)) {
/* whole transaction failed; restore the state for all the apps involved */
- g_autolist(GObject) ops = flatpak_transaction_get_operations (transaction);
+ g_autolist(GObject) ops = NULL;
+ g_message (" zzz %s: %d\n", __FUNCTION__, __LINE__);
+ ops = flatpak_transaction_get_operations (transaction);
+ g_message (" zzz %s: %d\n", __FUNCTION__, __LINE__);
for (GList *l = ops; l != NULL; l = l->next) {
FlatpakTransactionOperation *op = l->data;
const gchar *ref = flatpak_transaction_operation_get_ref (op);
@@ -115,6 +119,7 @@ gs_flatpak_transaction_run (FlatpakTransaction *transaction,
}
gs_app_set_state_recover (app);
}
+ g_message (" zzz %s: %d\n", __FUNCTION__, __LINE__);
if (self->first_operation_error != NULL) {
g_propagate_error (error, g_steal_pointer (&self->first_operation_error));
@@ -124,6 +129,7 @@ gs_flatpak_transaction_run (FlatpakTransaction *transaction,
return FALSE;
}
}
+ g_message (" zzz %s: %d\n", __FUNCTION__, __LINE__);
return TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]