[tracker/wip/passive-extraction: 16/16] libtracker-miner: Clearer error message for decorator class ID failures
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/wip/passive-extraction: 16/16] libtracker-miner: Clearer error message for decorator class ID failures
- Date: Wed, 15 Jan 2014 17:17:32 +0000 (UTC)
commit a7d7a7eb3d971f2795d6c1afa04c1c8165b28e85
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]