diff options
author | Philip Withnall <philip.withnall@collabora.co.uk> | 2015-04-27 16:58:41 +0100 |
---|---|---|
committer | Philip Withnall <philip.withnall@collabora.co.uk> | 2015-04-27 16:58:41 +0100 |
commit | 77585ebbcfb3a67404e91e36ca690b0252022902 (patch) | |
tree | 7d5a19e57384c8ea2e53eec0f62abccc10cef546 | |
parent | 6d9068cf8797683314a8f8dfd687c532220dbb5d (diff) | |
download | folks-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.vala | 5 |
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; } |