From 6007bb5844ded3ffa59a31c2b3890d9ffc887627 Mon Sep 17 00:00:00 2001 From: Zane Schepke Date: Mon, 17 Jun 2024 18:48:55 -0400 Subject: [PATCH] add logging --- common/http-api-client/src/lib.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/common/http-api-client/src/lib.rs b/common/http-api-client/src/lib.rs index 0102a019bb..74203a6011 100644 --- a/common/http-api-client/src/lib.rs +++ b/common/http-api-client/src/lib.rs @@ -9,7 +9,7 @@ use serde::{Deserialize, Serialize}; use std::fmt::Display; use std::time::Duration; use thiserror::Error; -use tracing::warn; +use tracing::{info, warn}; use url::Url; pub use reqwest::IntoUrl; @@ -512,6 +512,8 @@ where E: DeserializeOwned + Display, { let status = res.status(); + info!(status); + info!(res); if !allow_empty { if let Some(0) = res.content_length() {