[gnome-control-center] wwan: Strip remote dbus error before it's presented
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] wwan: Strip remote dbus error before it's presented
- Date: Tue, 10 May 2022 04:31:35 +0000 (UTC)
commit 9aff773564922ba4f7f0aa6713c414eff6087017
Author: Mohammed Sadiq <sadiq sadiqpk org>
Date: Wed Jan 12 19:14:34 2022 +0530
wwan: Strip remote dbus error before it's presented
That's more useful for the users
panels/wwan/cc-wwan-device.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/panels/wwan/cc-wwan-device.c b/panels/wwan/cc-wwan-device.c
index f6c7382a1..2538d199b 100644
--- a/panels/wwan/cc-wwan-device.c
+++ b/panels/wwan/cc-wwan-device.c
@@ -1324,6 +1324,8 @@ cc_wwan_device_get_simple_error (CcWwanDevice *self)
if (!self->error)
return NULL;
+ g_dbus_error_strip_remote_error (self->error);
+
return cc_wwan_error_get_message (self->error);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]