Typo, error formatting

This commit is contained in:
asonix 2023-07-10 17:15:43 -05:00
parent 4be2eb67d1
commit f5c39f9be5
2 changed files with 2 additions and 2 deletions

View file

@ -43,7 +43,7 @@ pin_project_lite::pin_project! {
#[derive(Debug, thiserror::Error)]
pub(crate) enum ProcessError {
#[error("Required commend {0} not found")]
#[error("Required command {0} not found")]
NotFound(String),
#[error("Reached process spawn limit")]

View file

@ -103,7 +103,7 @@ where
result
}
Err(e) => {
tracing::warn!("Failed to ingest {}, {}", format!("{e}"), format!("{e:?}"));
tracing::warn!("Failed to ingest\n{}\n{}", format!("{e}"), format!("{e:?}"));
UploadResult::Failure {
message: e.to_string(),