mirror of
				https://github.com/meilisearch/meilisearch.git
				synced 2025-10-31 07:56:28 +00:00 
			
		
		
		
	Improve the error message when missing documents
Co-authored-by: Tamo <tamo@meilisearch.com>
This commit is contained in:
		| @@ -109,7 +109,7 @@ pub enum Error { | ||||
|     InvalidIndexUid { index_uid: String }, | ||||
|     #[error("Task `{0}` not found.")] | ||||
|     TaskNotFound(TaskId), | ||||
|     #[error("Task `{0}` does not provide any content file.")] | ||||
|     #[error("Task `{0}` does not contain any documents. Only `documentAdditionOrUpdate` tasks with the statuses `enqueued` or `processing` contain documents")] | ||||
|     TaskFileNotFound(TaskId), | ||||
|     #[error("Batch `{0}` not found.")] | ||||
|     BatchNotFound(BatchId), | ||||
|   | ||||
		Reference in New Issue
	
	Block a user