Commit ab7f668c authored by Carlos Garnacho's avatar Carlos Garnacho

Merge branch 'wip/carlosg/issue-tracker-42' into 'master'

libtracker-miners-common: Make g_error() a soft error

Closes tracker#42

See merge request !32
parents e79cc212 3b6a3316
Pipeline #40224 passed with stage
in 1 minute and 48 seconds
......@@ -332,7 +332,11 @@ tracker_domain_ontology_initable_init (GInitable *initable,
path_for_tests = g_strdup (g_getenv ("TRACKER_TEST_DOMAIN_ONTOLOGY_RULE"));
if (path_for_tests == NULL) {
g_error ("Unable to find default domain ontology rule %s", path);
inner_error = g_error_new (G_KEY_FILE_ERROR,
G_KEY_FILE_ERROR_NOT_FOUND,
"Unable to find default domain ontology rule %s",
path);
goto end;
}
g_free (path);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment