Skip to content

Commit

Permalink
change logs
Browse files Browse the repository at this point in the history
  • Loading branch information
waahm7 committed Dec 5, 2024
1 parent 4e55abd commit 227180a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions aws-s3-transfer-manager/src/operation/download.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ async fn send_discovery(
Ok(permit) => permit,
Err(err) => {
if comp_tx.send(Err(err)).await.is_err() {
tracing::debug!("Download handle for key({}) has been dropped, aborting during the discovery phase", input.key.unwrap_or("None".to_string()));
tracing::debug!("Download handle for key({:?}) has been dropped, aborting during the discovery phase", input.key);
}
return;
}
Expand All @@ -132,16 +132,16 @@ async fn send_discovery(
Ok(discovery) => discovery,
Err(err) => {
if comp_tx.send(Err(err)).await.is_err() {
tracing::debug!("Download handle for key({}) has been dropped, aborting during the discovery phase", input.key.unwrap_or("None".to_string()));
tracing::debug!("Download handle for key({:?}) has been dropped, aborting during the discovery phase", input.key);
}
return;
}
};

if object_meta_tx.send(discovery.object_meta).is_err() {
tracing::debug!(
"Download handle for key({}) has been dropped, aborting during the discovery phase",
input.key.unwrap_or("None".to_string())
"Download handle for key({:?}) has been dropped, aborting during the discovery phase",
input.key
);
return;
}
Expand Down

0 comments on commit 227180a

Please sign in to comment.