Commit 81156d40 authored by Jürg Billeter's avatar Jürg Billeter

libtracker-sparql-backend: Improve debug message for direct connection

parent 052844a3
......@@ -21,8 +21,11 @@ public class Tracker.Direct.Connection : Tracker.Sparql.Connection {
// only single connection is currently supported per process
static bool initialized;
public Connection () throws Sparql.Error, IOError, DBusError
requires (!initialized) {
public Connection () throws Sparql.Error, IOError, DBusError {
if (initialized) {
}
uint select_cache_size = 100;
string env_cache_size = Environment.get_variable ("TRACKER_SPARQL_CACHE_SIZE");
......
......@@ -164,7 +164,7 @@ class Tracker.Sparql.Backend : Connection {
try {
direct = new Tracker.Direct.Connection ();
} catch (Error e) {
debug ("Unable to initialize direct backend");
debug ("Unable to initialize direct backend: " + e.message);
}
bus = new Tracker.Bus.Connection ();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment