diff --git a/crates/binstalk-git-repo-api/src/gh_api_client.rs b/crates/binstalk-git-repo-api/src/gh_api_client.rs index 3165b45e..5843c3ab 100644 --- a/crates/binstalk-git-repo-api/src/gh_api_client.rs +++ b/crates/binstalk-git-repo-api/src/gh_api_client.rs @@ -12,6 +12,7 @@ use std::{ use binstalk_downloader::{download::Download, remote}; use compact_str::{format_compact, CompactString, ToCompactString}; use tokio::sync::OnceCell; +use tracing::debug; use url::Url; mod common; @@ -213,6 +214,8 @@ impl GhApiClient { } pub async fn get_repo_info(&self, repo: &GhRepo) -> Result, GhApiError> { + debug!("get_repo_info is called on {repo:?}"); + match self .do_fetch( repo_info::fetch_repo_info_graphql_api, @@ -246,6 +249,8 @@ impl GhApiClient { let res = once_cell .get_or_try_init(|| { Box::pin(async { + debug!("has_release_artifact is called on {release:?}, {artifact_name}"); + match self .do_fetch( release_artifacts::fetch_release_artifacts_graphql_api,