[gnome-software/wip/kalev/gnome-3-22: 84/96] trivial: Add some more details in the flatak GError messages
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/kalev/gnome-3-22: 84/96] trivial: Add some more details in the flatak GError messages
- Date: Tue, 7 Mar 2017 16:31:08 +0000 (UTC)
commit 93506b84767ad854f936ba00c4ceb0280de02105
Author: Richard Hughes <richard hughsie com>
Date: Fri Feb 24 19:10:44 2017 +0000
trivial: Add some more details in the flatak GError messages
src/plugins/gs-flatpak.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/gs-flatpak.c b/src/plugins/gs-flatpak.c
index b0308e4..1a512c1 100644
--- a/src/plugins/gs-flatpak.c
+++ b/src/plugins/gs-flatpak.c
@@ -833,13 +833,16 @@ gs_flatpak_app_install_source (GsFlatpak *self, GsApp *app,
xremote,
cancellable,
error)) {
+ g_prefix_error (error, "cannot modify remote: ");
gs_app_set_state_recover (app);
return FALSE;
}
/* refresh the AppStream data manually */
- if (!gs_flatpak_add_apps_from_xremote (self, xremote, cancellable, error))
+ if (!gs_flatpak_add_apps_from_xremote (self, xremote, cancellable, error)) {
+ g_prefix_error (error, "cannot refresh remote AppStream: ");
return FALSE;
+ }
/* success */
gs_app_set_state (app, AS_APP_STATE_INSTALLED);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]