From f5c39f9be557c7e9b0787231b002d5b195acb10f Mon Sep 17 00:00:00 2001 From: asonix Date: Mon, 10 Jul 2023 17:15:43 -0500 Subject: [PATCH] Typo, error formatting --- src/process.rs | 2 +- src/queue/process.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/process.rs b/src/process.rs index 1ef491f..f580f4b 100644 --- a/src/process.rs +++ b/src/process.rs @@ -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")] diff --git a/src/queue/process.rs b/src/queue/process.rs index e06952e..db040ec 100644 --- a/src/queue/process.rs +++ b/src/queue/process.rs @@ -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(),