[tracker] Turn "Could not process" warnings into messages.



commit a0f793058e28a70754a23442f2773d1c738f54e7
Author: Carlos Garnacho <carlosg gnome org>
Date:   Thu Mar 18 15:41:15 2010 +0100

    Turn "Could not process" warnings into messages.

 src/libtracker-miner/tracker-miner-fs.c |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-miner-fs.c b/src/libtracker-miner/tracker-miner-fs.c
index 3c38c49..f838d31 100644
--- a/src/libtracker-miner/tracker-miner-fs.c
+++ b/src/libtracker-miner/tracker-miner-fs.c
@@ -1126,11 +1126,7 @@ item_add_or_update_cb (TrackerMinerFS *fs,
 
 			do_process_file (fs, data);
 		} else {
-			if (error->code == G_IO_ERROR_NOT_FOUND) {
-				g_message ("Could not process '%s': %s", uri, error->message);
-			} else {
-				g_critical ("Could not process '%s': %s", uri, error->message);
-			}
+                        g_message ("Could not process '%s': %s", uri, error->message);
 
 			fs->private->total_files_notified_error++;
 			fs->private->processing_pool =



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