From b6faa097507263cabfce431aeb652d1bd832c4cc Mon Sep 17 00:00:00 2001 From: zhou fan <1247714429@qq.com> Date: Thu, 15 Jun 2023 06:28:21 +0800 Subject: [PATCH] Update src/engines/engine_models.rs Co-authored-by: neon_arch --- src/engines/engine_models.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engines/engine_models.rs b/src/engines/engine_models.rs index 7f44237..9ffc77f 100644 --- a/src/engines/engine_models.rs +++ b/src/engines/engine_models.rs @@ -28,9 +28,9 @@ impl fmt::Display for EngineError { write!(f, "The upstream search engine returned an empty result set") } EngineError::RequestError => { - write!(f, "Request error") + write!(f, "Error occurred while requesting data from upstream search engine") } - EngineError::UnexpectedError => write!(f, "Unexpected error"), + EngineError::UnexpectedError => write!(f, "An unexpected error occurred while processing the data"), } } }