summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2020-09-28 17:34:14 +0200
committerCarlos Garnacho <carlosg@gnome.org>2020-09-30 13:07:37 +0200
commit71217526b5dddd885539ee9449cde1955568f620 (patch)
tree269059fba199eff0f70639ed989ff337944abf75
parent9342ed84b9ba6ba61049e3b245fd3f6fa68636b2 (diff)
downloadtracker-71217526b5dddd885539ee9449cde1955568f620.tar.gz
portal: Add missing GError in error path
Otherwise we try to error out, but never really finish the DBus invocation.
-rw-r--r--src/portal/tracker-portal.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/portal/tracker-portal.c b/src/portal/tracker-portal.c
index ff67967c1..4faeaae0b 100644
--- a/src/portal/tracker-portal.c
+++ b/src/portal/tracker-portal.c
@@ -263,6 +263,11 @@ load_client_configuration (TrackerPortal *portal,
if (!graphs) {
g_debug ("Service '%s' not found in Tracker policy", service_uri);
+ g_set_error (error,
+ G_IO_ERROR,
+ G_IO_ERROR_NOT_FOUND,
+ "Service '%s' not found in Tracker policy",
+ service_uri);
return NULL;
}