From 71865259f3fe8a335ad0bc987a7cf94c1724984a Mon Sep 17 00:00:00 2001 From: Hammad Bashir Date: Sun, 24 Mar 2024 14:41:37 -0700 Subject: [PATCH] [CLN] Clean up log error message (#1925) ## Description of changes *Summarize the changes made by this PR.* - Improvements & Bug fixes - The error message here seems to have been copied from grpc sysdb and was mentioning segment which was confusing. - New functionality - None ## Test plan *How are these changes tested?* - [x] Tests pass locally with `pytest` for python, `yarn test` for js, `cargo test` for rust ## Documentation Changes None --- rust/worker/src/log/log.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/worker/src/log/log.rs b/rust/worker/src/log/log.rs index 56a7da319e2..5dae688e6d3 100644 --- a/rust/worker/src/log/log.rs +++ b/rust/worker/src/log/log.rs @@ -192,7 +192,7 @@ impl Log for GrpcLog { pub(crate) enum PullLogsError { #[error("Failed to fetch")] FailedToPullLogs(#[from] tonic::Status), - #[error("Failed to convert proto segment")] + #[error("Failed to convert proto embedding record into EmbeddingRecord")] ConversionError(#[from] EmbeddingRecordConversionError), }