From 553a3ebd0a205eb08c6ee9c1a415e0dd00f71b16 Mon Sep 17 00:00:00 2001 From: Lorenz Leutgeb Date: Tue, 14 Apr 2026 22:28:58 +0200 Subject: [PATCH] cli/cob: Remove check of `BrokenPipe` The swallowing of `BrokenPipe` is processed further down the stack, so this case is no longer needed. --- crates/radicle-cli/src/commands/cob.rs | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/crates/radicle-cli/src/commands/cob.rs b/crates/radicle-cli/src/commands/cob.rs index ef6dd9dc..4db3a8fa 100644 --- a/crates/radicle-cli/src/commands/cob.rs +++ b/crates/radicle-cli/src/commands/cob.rs @@ -156,14 +156,7 @@ pub fn run(args: Args, ctx: impl term::Context) -> anyhow::Result<()> { .. } => { let repo = storage.repository(repo)?; - if let Err(e) = show(objects, &repo, type_name.into(), &profile) { - if let Some(err) = e.downcast_ref::() { - if err.kind() == std::io::ErrorKind::BrokenPipe { - return Ok(()); - } - } - return Err(e); - } + show(objects, &repo, type_name.into(), &profile)?; } Update(args::Update { repo,