mirror of
https://git.asonix.dog/asonix/pict-rs
synced 2024-12-22 19:31:35 +00:00
Typo, error formatting
This commit is contained in:
parent
4be2eb67d1
commit
f5c39f9be5
2 changed files with 2 additions and 2 deletions
|
@ -43,7 +43,7 @@ pin_project_lite::pin_project! {
|
||||||
|
|
||||||
#[derive(Debug, thiserror::Error)]
|
#[derive(Debug, thiserror::Error)]
|
||||||
pub(crate) enum ProcessError {
|
pub(crate) enum ProcessError {
|
||||||
#[error("Required commend {0} not found")]
|
#[error("Required command {0} not found")]
|
||||||
NotFound(String),
|
NotFound(String),
|
||||||
|
|
||||||
#[error("Reached process spawn limit")]
|
#[error("Reached process spawn limit")]
|
||||||
|
|
|
@ -103,7 +103,7 @@ where
|
||||||
result
|
result
|
||||||
}
|
}
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
tracing::warn!("Failed to ingest {}, {}", format!("{e}"), format!("{e:?}"));
|
tracing::warn!("Failed to ingest\n{}\n{}", format!("{e}"), format!("{e:?}"));
|
||||||
|
|
||||||
UploadResult::Failure {
|
UploadResult::Failure {
|
||||||
message: e.to_string(),
|
message: e.to_string(),
|
||||||
|
|
Loading…
Reference in a new issue