mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-21 04:58:42 +00:00
Log exact URL for qi report
This commit is contained in:
parent
d0a292e173
commit
148d34e980
1 changed files with 3 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
use std::path::Path;
|
||||
use std::sync::Arc;
|
||||
|
||||
use log::info;
|
||||
use log::{debug, info};
|
||||
use reqwest::Method;
|
||||
use url::Url;
|
||||
|
||||
|
@ -77,8 +77,9 @@ impl QuickInstall {
|
|||
}
|
||||
|
||||
pub async fn report(&self) -> Result<(), BinstallError> {
|
||||
info!("Sending installation report to quickinstall (anonymous)");
|
||||
let url = Url::parse(&self.stats_url())?;
|
||||
debug!("Sending installation report to quickinstall ({url})");
|
||||
|
||||
reqwest::Client::builder()
|
||||
.user_agent(USER_AGENT)
|
||||
.build()?
|
||||
|
|
Loading…
Add table
Reference in a new issue