Upgrade "batch failed" log to ERROR level

This commit is contained in:
Louis Dureuil 2024-09-24 10:02:53 +02:00
parent 7f20c13f3f
commit 86da0e83fe
No known key found for this signature in database

View File

@ -1263,7 +1263,7 @@ impl IndexScheduler {
#[cfg(test)]
self.maybe_fail(tests::FailureLocation::UpdatingTaskAfterProcessBatchFailure)?;
tracing::info!("Batch failed {}", error);
tracing::error!("Batch failed {}", error);
self.update_task(&mut wtxn, &task)
.map_err(|e| Error::TaskDatabaseUpdate(Box::new(e)))?;