From 87547550f57bedd3e3c31a4dca464a6d2f63944a Mon Sep 17 00:00:00 2001 From: Louis Dureuil Date: Wed, 2 Apr 2025 16:10:11 +0200 Subject: [PATCH] patch reasons --- crates/meilisearch-types/src/tasks.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/meilisearch-types/src/tasks.rs b/crates/meilisearch-types/src/tasks.rs index 2b079fa35..6f9985b6c 100644 --- a/crates/meilisearch-types/src/tasks.rs +++ b/crates/meilisearch-types/src/tasks.rs @@ -773,10 +773,10 @@ impl Display for BatchStopReason { task_pk, batch_pk, } => { - write!(f, "primary key `{task_pk}` in task with id {id} is different from `{batch_pk}`: the primary key of the batch being build") + write!(f, "primary key `{task_pk}` in task with id {id} is different from the primary key of the batch `{batch_pk}`") } PrimaryKeyMismatchReason::CannotInterfereWithPrimaryKeyGuessing { task_pk } => { - write!(f, "Task {id} is setting the `{task_pk}` primary key but cannot interfere with primary key guessing of the previous batch") + write!(f, "task with id {id} is setting the `{task_pk}` primary key but cannot interfere with primary key guessing of the batch") } }, BatchStopReason::IndexDeletion { id } => {