[gnome-software] trivial: Handle low level bus errors from fwupd
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] trivial: Handle low level bus errors from fwupd
- Date: Tue, 22 Nov 2016 19:49:44 +0000 (UTC)
commit 195d23c6975d12560fdfc3209a560e33832df578
Author: Richard Hughes <richard hughsie com>
Date: Tue Nov 22 19:46:41 2016 +0000
trivial: Handle low level bus errors from fwupd
src/plugins/gs-plugin-fwupd.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/gs-plugin-fwupd.c b/src/plugins/gs-plugin-fwupd.c
index b8bfd4c..bc60c78 100644
--- a/src/plugins/gs-plugin-fwupd.c
+++ b/src/plugins/gs-plugin-fwupd.c
@@ -62,6 +62,10 @@ gs_plugin_fwupd_error_convert (GError **perror)
if (error->domain == GS_PLUGIN_ERROR)
return;
+ /* this are allowed for low-level errors */
+ if (gs_utils_error_convert_gio (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]