[gnome-software] snap: Return an error on failure to connect
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] snap: Return an error on failure to connect
- Date: Tue, 27 Jun 2017 07:46:27 +0000 (UTC)
commit 16c8ad0cede835e3a3e94820920cab5f50f2ae55
Author: Richard Hughes <richard hughsie com>
Date: Tue Jun 27 07:44:58 2017 +0100
snap: Return an error on failure to connect
plugins/snap/gs-plugin-snap.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/snap/gs-plugin-snap.c b/plugins/snap/gs-plugin-snap.c
index 0095998..d88cfc0 100644
--- a/plugins/snap/gs-plugin-snap.c
+++ b/plugins/snap/gs-plugin-snap.c
@@ -158,7 +158,7 @@ find_snaps (GsPlugin *plugin, SnapdFindFlags flags, const gchar *section, const
client = get_client (plugin, cancellable, error);
if (client == NULL)
return FALSE;
- snaps = snapd_client_find_section_sync (client, flags, section, query, NULL, cancellable, NULL);
+ snaps = snapd_client_find_section_sync (client, flags, section, query, NULL, cancellable, error);
if (snaps == NULL)
return NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]