diff --git a/src/server/actors/repo/branch.rs b/src/server/actors/repo/branch.rs index d0e0b67..66e7b19 100644 --- a/src/server/actors/repo/branch.rs +++ b/src/server/actors/repo/branch.rs @@ -7,7 +7,7 @@ use crate::server::{config, forge}; use super::{RepoActor, StartMonitoring, StartRepo}; -#[tracing::instrument(fields(forge_name = %repo_details.forge.name, repo_name = %repo_details.name))] +#[tracing::instrument(fields(forge_name = %repo_details.forge.name, repo_name = %repo_details.name), skip_all)] pub async fn validate_positions( repo_details: config::RepoDetails, config: config::RepoConfig, diff --git a/src/server/forge/forgejo/mod.rs b/src/server/forge/forgejo/mod.rs index 8013747..4d4a002 100644 --- a/src/server/forge/forgejo/mod.rs +++ b/src/server/forge/forgejo/mod.rs @@ -28,7 +28,7 @@ pub async fn get_commit_histories( Ok(histories) } -#[tracing::instrument(fields(%branch_name))] +#[tracing::instrument(fields(%branch_name),skip_all)] async fn get_commit_history( repo_details: &crate::server::config::RepoDetails, branch_name: &BranchName,