[tracker: 3/6] tracker-data-manager.c: propagate error occurs while parsing the ontology file
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker: 3/6] tracker-data-manager.c: propagate error occurs while parsing the ontology file
- Date: Mon, 12 Jul 2021 14:54:11 +0000 (UTC)
commit e6780de0d9bea395da2ceb4d15e109a68cef3355
Author: Abanoub Ghadban <abanoub gdb gmail com>
Date: Sun Jul 4 13:33:47 2021 +0200
tracker-data-manager.c: propagate error occurs while parsing the ontology file
src/libtracker-data/tracker-data-manager.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/libtracker-data/tracker-data-manager.c b/src/libtracker-data/tracker-data-manager.c
index f3104b980..ccf4dc419 100644
--- a/src/libtracker-data/tracker-data-manager.c
+++ b/src/libtracker-data/tracker-data-manager.c
@@ -3888,8 +3888,8 @@ tracker_data_manager_initable_init (GInitable *initable,
NULL,
&ontology_error);
if (ontology_error) {
- g_error ("Error loading ontology (%s): %s",
- uri, ontology_error->message);
+ g_propagate_error (error, ontology_error);
+ return FALSE;
}
g_free (uri);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]