[gnome-software] flatpak: Return errors with the correct error domain
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] flatpak: Return errors with the correct error domain
- Date: Tue, 22 Nov 2016 14:33:53 +0000 (UTC)
commit abf8985488ce22f9eb95ef5f74d95f2648f38735
Author: Richard Hughes <richard hughsie com>
Date: Tue Nov 22 14:33:37 2016 +0000
flatpak: Return errors with the correct error domain
src/plugins/gs-flatpak.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/gs-flatpak.c b/src/plugins/gs-flatpak.c
index 96a863a..7ed7c29 100644
--- a/src/plugins/gs-flatpak.c
+++ b/src/plugins/gs-flatpak.c
@@ -926,6 +926,7 @@ gs_flatpak_app_install_source (GsFlatpak *self, GsApp *app,
xremote,
cancellable,
error)) {
+ gs_plugin_flatpak_error_convert (error);
gs_app_set_state_recover (app);
return FALSE;
}
@@ -2049,6 +2050,7 @@ gs_flatpak_app_remove_source (GsFlatpak *self,
gs_app_get_id (app),
cancellable,
error)) {
+ gs_plugin_flatpak_error_convert (error);
gs_app_set_state_recover (app);
return FALSE;
}
@@ -2090,6 +2092,7 @@ gs_flatpak_app_remove (GsFlatpak *self,
gs_app_get_flatpak_branch (app),
gs_flatpak_progress_cb, app,
cancellable, error)) {
+ gs_plugin_flatpak_error_convert (error);
gs_app_set_state_recover (app);
return FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]