Add more debugging

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2024-06-07 00:39:54 +10:00
parent e02321e8f1
commit 23a1bedc41
No known key found for this signature in database
GPG key ID: 76D1E687CA3C4928

View file

@ -12,7 +12,7 @@ use std::{
use binstalk_downloader::{download::Download, remote};
use compact_str::{format_compact, CompactString, ToCompactString};
use tokio::sync::OnceCell;
use tracing::instrument;
use tracing::{debug, instrument};
use url::Url;
mod common;
@ -257,7 +257,10 @@ impl GhApiClient {
)
.await
{
Ok(artifacts) => Ok(Some(artifacts)),
Ok(artifacts) => {
debug!("artifacts = {artifacts:?}");
Ok(Some(artifacts))
}
Err(GhApiError::NotFound) => Ok(None),
Err(err) => Err(err),
}