summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2015-04-27 16:58:41 +0100
committerPhilip Withnall <philip.withnall@collabora.co.uk>2015-04-27 16:58:41 +0100
commit77585ebbcfb3a67404e91e36ca690b0252022902 (patch)
tree7d5a19e57384c8ea2e53eec0f62abccc10cef546
parent6d9068cf8797683314a8f8dfd687c532220dbb5d (diff)
downloadfolks-77585ebbcfb3a67404e91e36ca690b0252022902.tar.gz
tracker: Handle GLib.Error from Tracker.SparqlConnection.update_async()
This seems to have been added in recent versions of Tracker, or just exposed in the introspected bindings.
-rw-r--r--backends/tracker/lib/trf-persona-store.vala5
1 files changed, 5 insertions, 0 deletions
diff --git a/backends/tracker/lib/trf-persona-store.vala b/backends/tracker/lib/trf-persona-store.vala
index dc570d0a..0ee8383f 100644
--- a/backends/tracker/lib/trf-persona-store.vala
+++ b/backends/tracker/lib/trf-persona-store.vala
@@ -2622,6 +2622,11 @@ public class Trf.PersonaStore : Folks.PersonaStore
warning ("[%s] DBus error: %s",
caller, e3.message);
}
+ catch (GLib.Error e4)
+ {
+ warning ("[%s] GLib error: %s",
+ caller, e4.message);
+ }
return ret;
}