diff --git a/src/git.rs b/src/git.rs index 22468b8..8c2981d 100644 --- a/src/git.rs +++ b/src/git.rs @@ -65,7 +65,10 @@ impl Git { }) .await .context("Failed to join Tokio task")? - .context("Failed to open repository")?; + .map_err(|err| { + error!("{}", err); + anyhow!("Failed to open repository") + })?; Ok(Arc::new(OpenRepository { git: self,