[gnome-software] trivial: Always return the correct error domain from PK
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] trivial: Always return the correct error domain from PK
- Date: Tue, 6 Dec 2016 15:05:34 +0000 (UTC)
commit f970771f2c7a8a73aac089c747b4c8aa5a11ad86
Author: Richard Hughes <richard hughsie com>
Date: Tue Dec 6 13:57:50 2016 +0000
trivial: Always return the correct error domain from PK
src/plugins/packagekit-common.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/packagekit-common.c b/src/plugins/packagekit-common.c
index 1251b77..b44d639 100644
--- a/src/plugins/packagekit-common.c
+++ b/src/plugins/packagekit-common.c
@@ -179,6 +179,7 @@ gs_plugin_packagekit_results_valid (PkResults *results, GError **error)
PK_CLIENT_ERROR,
pk_error_get_code (error_code),
pk_error_get_details (error_code));
+ gs_plugin_packagekit_error_convert (error);
return FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]