Enable reqwest's verbose logging

This commit is contained in:
Avery
2024-01-25 23:13:49 -05:00
parent d831adb73f
commit 71eb298c9e

View File

@@ -29,7 +29,8 @@ impl ApiClient {
#[cfg_attr(not(debug_assertions), allow(unused_mut))] #[cfg_attr(not(debug_assertions), allow(unused_mut))]
let mut client = reqwest::Client::builder() let mut client = reqwest::Client::builder()
.user_agent(APP_USER_AGENT) .user_agent(APP_USER_AGENT)
.default_headers(headers); .default_headers(headers)
.connection_verbose(true);
#[cfg(debug_assertions)] #[cfg(debug_assertions)]
{ {