[folks] tracker: Handle GLib.Error from Tracker.SparqlConnection.update_async()
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [folks] tracker: Handle GLib.Error from Tracker.SparqlConnection.update_async()
- Date: Mon, 27 Apr 2015 16:01:25 +0000 (UTC)
commit 77585ebbcfb3a67404e91e36ca690b0252022902
Author: Philip Withnall <philip withnall collabora co uk>
Date: Mon Apr 27 16:58:41 2015 +0100
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.
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 dc570d0..0ee8383 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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]