mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-06-16 23:56:37 +00:00
Add more debugging
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
e02321e8f1
commit
23a1bedc41
1 changed files with 5 additions and 2 deletions
|
@ -12,7 +12,7 @@ use std::{
|
||||||
use binstalk_downloader::{download::Download, remote};
|
use binstalk_downloader::{download::Download, remote};
|
||||||
use compact_str::{format_compact, CompactString, ToCompactString};
|
use compact_str::{format_compact, CompactString, ToCompactString};
|
||||||
use tokio::sync::OnceCell;
|
use tokio::sync::OnceCell;
|
||||||
use tracing::instrument;
|
use tracing::{debug, instrument};
|
||||||
use url::Url;
|
use url::Url;
|
||||||
|
|
||||||
mod common;
|
mod common;
|
||||||
|
@ -257,7 +257,10 @@ impl GhApiClient {
|
||||||
)
|
)
|
||||||
.await
|
.await
|
||||||
{
|
{
|
||||||
Ok(artifacts) => Ok(Some(artifacts)),
|
Ok(artifacts) => {
|
||||||
|
debug!("artifacts = {artifacts:?}");
|
||||||
|
Ok(Some(artifacts))
|
||||||
|
}
|
||||||
Err(GhApiError::NotFound) => Ok(None),
|
Err(GhApiError::NotFound) => Ok(None),
|
||||||
Err(err) => Err(err),
|
Err(err) => Err(err),
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue