diff --git a/CHANGELOG.md b/CHANGELOG.md index 7abf7ab6fd..a7c6ee12f7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 * use [tombi](https://github.com/tombi-toml/tombi) for all toml file formatting ### Fixes +* crash when opening submodule ([#2895](https://github.com/gitui-org/gitui/issues/2895)) * when staging the last file in a directory, the first item after the directory is no longer skipped [[@Tillerino](https://github.com/Tillerino)] ([#2748](https://github.com/gitui-org/gitui/issues/2748)) ## [0.28.1] - 2026-03-21 diff --git a/asyncgit/src/status.rs b/asyncgit/src/status.rs index 2516e8bd38..9728c6f33e 100644 --- a/asyncgit/src/status.rs +++ b/asyncgit/src/status.rs @@ -138,9 +138,10 @@ impl AsyncStatus { arc_generation.fetch_add(1, Ordering::Relaxed); arc_pending.fetch_sub(1, Ordering::Relaxed); - sender - .send(AsyncGitNotification::Status) - .expect("error sending status"); + if let Err(e) = sender.send(AsyncGitNotification::Status) + { + log::error!("send status error: {e}"); + } }); Ok(None)