Skip to content

Commit

Permalink
[CLN] Clean up log error message
Browse files Browse the repository at this point in the history
  • Loading branch information
HammadB committed Mar 24, 2024
1 parent b461927 commit 054e730
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rust/worker/src/log/log.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ impl Log for GrpcLog {
}
Err(e) => {
// TODO: switch to logging when logging is implemented
println!("Failed to pull logs: {}", e);
println!("Failed to pull: logs: {}", e);
Err(PullLogsError::FailedToPullLogs(e))
}
}
Expand Down 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 054e730

Please sign in to comment.