Skip to content

Commit

Permalink
container: Add a trace log for when we discard "broken pipe" error
Browse files Browse the repository at this point in the history
I don't think we're hitting this in coreos/rpm-ostree#4567
but it'd be useful to have a trace message in case.
  • Loading branch information
cgwalters committed Aug 31, 2023
1 parent a45512a commit e39b727
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/src/container/unencapsulate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ pub(crate) async fn join_fetch<T: std::fmt::Debug>(
(Err(worker), Err(driver)) => {
let text = driver.root_cause().to_string();
if text.ends_with("broken pipe") {
tracing::trace!("Ignoring broken pipe failure from driver");
Err(worker)
} else {
Err(worker.context(format!("proxy failure: {} and client error", text)))
Expand Down

0 comments on commit e39b727

Please sign in to comment.