Commit 8070a4f7 authored by Philip Van Hoof's avatar Philip Van Hoof

tracker-writeback: Don't warn in case of unsupported format for writeback

Fixes NB#285979.
parent 7570ff9e
......@@ -4950,7 +4950,11 @@ tracker_miner_fs_writeback_notify (TrackerMinerFS *fs,
G_OBJECT_TYPE_NAME (fs), uri);
g_free (uri);
} else if (error) {
if (!(error->domain == TRACKER_DBUS_ERROR &&
error->code == TRACKER_DBUS_ERROR_UNSUPPORTED)) {
g_warning ("Writeback operation failed: %s", error->message);
}
/* We don't expect any further monitor
* events on the original file.
......
......@@ -573,8 +573,8 @@ handle_method_call_perform_writeback (TrackerController *controller,
if (!handled) {
g_dbus_method_invocation_return_error (invocation,
G_IO_ERROR,
G_IO_ERROR_FAILED,
TRACKER_DBUS_ERROR,
TRACKER_DBUS_ERROR_UNSUPPORTED,
"No module for rdf types");
}
......
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