[tracker/wip/sam/meson] libtracker-sparql-backend: Turn failure to initialize direct backend to a warning
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/wip/sam/meson] libtracker-sparql-backend: Turn failure to initialize direct backend to a warning
- Date: Sun, 25 Sep 2016 13:18:38 +0000 (UTC)
commit 6cd7ccb6147c2d213efb0f3ba0d74e192e140d10
Author: Carlos Garnacho <carlosg gnome org>
Date: Sun Jul 17 23:23:05 2016 +0200
libtracker-sparql-backend: Turn failure to initialize direct backend to a warning
This usually indicates a wrong environment, we elegantly fallback to using the
bus backend so this is for the most part not noticeable by the user. Turn this
into a warning so the problem is more visible.
src/libtracker-sparql-backend/tracker-backend.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-sparql-backend/tracker-backend.vala
b/src/libtracker-sparql-backend/tracker-backend.vala
index df0cf6c..5c2f4a5 100644
--- a/src/libtracker-sparql-backend/tracker-backend.vala
+++ b/src/libtracker-sparql-backend/tracker-backend.vala
@@ -208,7 +208,7 @@ class Tracker.Sparql.Backend : Connection {
try {
direct = new Tracker.Direct.Connection ();
} catch (Error e) {
- debug ("Unable to initialize direct backend: " + e.message);
+ warning ("Falling back to bus backend, the direct backend failed to
initialize: " + e.message);
}
bus = new Tracker.Bus.Connection ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]