[tracker: 15/30] libtracker-miner: Clearer error message for decorator class ID failures



commit bd5dc8faab9f3bb9c74ee253c9338095547d8c22
Author: Martyn Russell <martyn lanedo com>
Date:   Wed Jan 15 16:55:48 2014 +0000

    libtracker-miner: Clearer error message for decorator class ID failures

 src/libtracker-miner/tracker-decorator.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-decorator.c b/src/libtracker-miner/tracker-decorator.c
index d2e4de7..976d017 100644
--- a/src/libtracker-miner/tracker-decorator.c
+++ b/src/libtracker-miner/tracker-decorator.c
@@ -431,7 +431,7 @@ get_class_id (TrackerSparqlConnection *conn,
        g_free (query);
 
        if (error) {
-               g_critical ("Could not get ID of class '%s': %s\n",
+               g_critical ("Could not get class ID for '%s': %s\n",
                            class, error->message);
                g_error_free (error);
                return -1;
@@ -440,7 +440,7 @@ get_class_id (TrackerSparqlConnection *conn,
        if (tracker_sparql_cursor_next (cursor, NULL, NULL))
                id = tracker_sparql_cursor_get_integer (cursor, 0);
        else
-               g_critical ("'%s' didn't resolve to a known ID", class);
+               g_critical ("'%s' didn't resolve to a known class ID", class);
 
        g_object_unref (cursor);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]