Commit f450495f authored by Christian Hergert's avatar Christian Hergert
Browse files

code-index: log file that contained no entries

Just to simplify the process of locating what indexers are at play.
parent 6c64b421
......@@ -185,10 +185,13 @@ ide_persistent_map_builder_write_worker (GTask *task,
if (state->keys->len == 0)
{
g_autofree gchar *path = g_file_get_path (state->destination);
g_task_return_new_error (task,
G_IO_ERROR,
G_IO_ERROR_INVALID_DATA,
"No entries to write");
"No entries to write for \"%s\"",
path);
return;
}
......
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