[gnome-software] snap: Never show a remote error in the authentication dialog
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] snap: Never show a remote error in the authentication dialog
- Date: Mon, 3 Apr 2017 14:31:58 +0000 (UTC)
commit 884f99ea4cf2a756c5686c015dd9f3c710e4de2c
Author: Richard Hughes <richard hughsie com>
Date: Mon Apr 3 15:23:00 2017 +0100
snap: Never show a remote error in the authentication dialog
plugins/snap/gs-plugin-snap.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/plugins/snap/gs-plugin-snap.c b/plugins/snap/gs-plugin-snap.c
index c086adb..13cf01b 100644
--- a/plugins/snap/gs-plugin-snap.c
+++ b/plugins/snap/gs-plugin-snap.c
@@ -552,6 +552,7 @@ gs_plugin_auth_login (GsPlugin *plugin, GsAuth *auth,
GS_PLUGIN_ERROR_AUTH_INVALID,
local_error->message);
} else {
+ g_dbus_error_strip_remote_error (local_error);
g_set_error_literal (error,
GS_PLUGIN_ERROR,
GS_PLUGIN_ERROR_NOT_SUPPORTED,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]