[gnome-builder] code-index: log file that contained no entries
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] code-index: log file that contained no entries
- Date: Thu, 18 Jan 2018 23:42:09 +0000 (UTC)
commit f450495f7dc186188d1d3c0ba1501177e01965f2
Author: Christian Hergert <chergert redhat com>
Date: Thu Jan 18 15:41:10 2018 -0800
code-index: log file that contained no entries
Just to simplify the process of locating what indexers are at play.
src/plugins/code-index/ide-persistent-map-builder.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/src/plugins/code-index/ide-persistent-map-builder.c
b/src/plugins/code-index/ide-persistent-map-builder.c
index 9868ff018..001598d00 100644
--- a/src/plugins/code-index/ide-persistent-map-builder.c
+++ b/src/plugins/code-index/ide-persistent-map-builder.c
@@ -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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]