[gnome-software/gnome-3-24] 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/gnome-3-24] snap: Never show a remote error in the authentication dialog
- Date: Mon, 10 Apr 2017 13:56:22 +0000 (UTC)
commit caa5ad89f506964b427f96acda9ec0f8cba17f72
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 79a1f8d..6e465c5 100644
--- a/plugins/snap/gs-plugin-snap.c
+++ b/plugins/snap/gs-plugin-snap.c
@@ -551,6 +551,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]