diff --git a/crates/server/src/gitforge/forgejo/branch/validate_positions.rs b/crates/server/src/gitforge/forgejo/branch/validate_positions.rs index 5ad5ba5..9facb33 100644 --- a/crates/server/src/gitforge/forgejo/branch/validate_positions.rs +++ b/crates/server/src/gitforge/forgejo/branch/validate_positions.rs @@ -140,7 +140,6 @@ pub async fn validate_positions( ); return Err(Error::BranchHasNoCommits(repo_config.branches().dev())); }; - info!("Validation - OK"); Ok(ValidatedPositions { main, diff --git a/crates/server/src/gitforge/forgejo/mod.rs b/crates/server/src/gitforge/forgejo/mod.rs index 870aa5e..4046abd 100644 --- a/crates/server/src/gitforge/forgejo/mod.rs +++ b/crates/server/src/gitforge/forgejo/mod.rs @@ -139,8 +139,7 @@ impl super::ForgeLike for ForgeJoEnv { }; info!("Validating..."); git::validate(&repository, &self.repo_details) - .map_err(|e| git::repository::Error::Validation(e.to_string())) - .inspect(|_| info!("Validation - OK"))?; + .map_err(|e| git::repository::Error::Validation(e.to_string()))?; Ok(repository) } }