[gnome-software/wip/kalev/f29-ci2: 1/4] fwupd: trivial: Convert gdbus errors
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/kalev/f29-ci2: 1/4] fwupd: trivial: Convert gdbus errors
- Date: Fri, 1 Mar 2019 11:09:06 +0000 (UTC)
commit f24c8a4c11fea346d79887cc1297f9b7ddf7b425
Author: Kalev Lember <klember redhat com>
Date: Fri Mar 1 11:46:15 2019 +0100
fwupd: trivial: Convert gdbus errors
plugins/fwupd/gs-plugin-fwupd.c | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/plugins/fwupd/gs-plugin-fwupd.c b/plugins/fwupd/gs-plugin-fwupd.c
index db37d482..77a80ed1 100644
--- a/plugins/fwupd/gs-plugin-fwupd.c
+++ b/plugins/fwupd/gs-plugin-fwupd.c
@@ -50,6 +50,10 @@ gs_plugin_fwupd_error_convert (GError **perror)
if (gs_utils_error_convert_gio (perror))
return;
+ /* this are allowed for low-level errors */
+ if (gs_utils_error_convert_gdbus (perror))
+ return;
+
/* custom to this plugin */
if (error->domain == FWUPD_ERROR) {
switch (error->code) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]