mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-01-31 15:31:53 +08:00
5bc6391700
5153: Return docid in case of errors while rendering the document template r=Kerollmops a=dureuill Improves error message: Before: ``` ERROR index_scheduler: Batch failed Index `mieli`: user error: missing field in document: liquid: Unknown index with: variable=doc requested index=title available indexes=by, id, kids, parent, text, time, type ``` After: ``` ERROR index_scheduler: Batch failed Index `mieli`: user error: missing field in document `11345147`: liquid: Unknown index with: variable=doc requested index=title available indexes=by, id, kids, parent, text, time, type ``` Co-authored-by: Louis Dureuil <louis@meilisearch.com>