Log exact URL for qi report

This commit is contained in:
Félix Saparelli 2022-06-08 01:26:06 +12:00
parent d0a292e173
commit 148d34e980
No known key found for this signature in database
GPG key ID: B948C4BAE44FC474

View file

@ -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()?