[tracker/tracker-0.12] libtracker-data: Log error message on unsupported ontology change
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.12] libtracker-data: Log error message on unsupported ontology change
- Date: Thu, 15 Sep 2011 16:26:40 +0000 (UTC)
commit 0e6e0ddd678342ca8debdf3d5d7306791a763df7
Author: JÃrg Billeter <j bitron ch>
Date: Mon Sep 12 17:25:37 2011 +0200
libtracker-data: Log error message on unsupported ontology change
src/libtracker-data/tracker-data-manager.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/libtracker-data/tracker-data-manager.c b/src/libtracker-data/tracker-data-manager.c
index db08a10..8ac0eaf 100644
--- a/src/libtracker-data/tracker-data-manager.c
+++ b/src/libtracker-data/tracker-data-manager.c
@@ -4024,7 +4024,7 @@ tracker_data_manager_init (TrackerDBManagerFlags flags,
if (g_error_matches (ontology_error,
TRACKER_DATA_ONTOLOGY_ERROR,
TRACKER_DATA_UNSUPPORTED_ONTOLOGY_CHANGE)) {
- g_debug ("\nUnsupported ontology change, replaying journal\n");
+ g_warning ("%s", ontology_error->message);
g_error_free (ontology_error);
tracker_data_ontology_free_seen (seen_classes);
@@ -4114,7 +4114,7 @@ tracker_data_manager_init (TrackerDBManagerFlags flags,
if (g_error_matches (ontology_error,
TRACKER_DATA_ONTOLOGY_ERROR,
TRACKER_DATA_UNSUPPORTED_ONTOLOGY_CHANGE)) {
- g_debug ("\nUnsupported ontology change, replaying journal\n");
+ g_warning ("%s", ontology_error->message);
g_error_free (ontology_error);
tracker_data_ontology_free_seen (seen_classes);
@@ -4210,7 +4210,7 @@ tracker_data_manager_init (TrackerDBManagerFlags flags,
if (g_error_matches (ontology_error,
TRACKER_DATA_ONTOLOGY_ERROR,
TRACKER_DATA_UNSUPPORTED_ONTOLOGY_CHANGE)) {
- g_debug ("\nUnsupported ontology change, replaying journal\n");
+ g_warning ("%s", ontology_error->message);
g_error_free (ontology_error);
tracker_data_ontology_free_seen (seen_classes);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]