Skip to content

Commit

Permalink
[CLN] Clean up log error message (#1925)
Browse files Browse the repository at this point in the history
## 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
  • Loading branch information
HammadB authored Mar 24, 2024
1 parent 917fa0d commit 7186525
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/worker/src/log/log.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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),
}

Expand Down

0 comments on commit 7186525

Please sign in to comment.