add logging

This commit is contained in:
Zane Schepke
2024-06-17 18:48:55 -04:00
parent dad215c6e3
commit 6007bb5844
+3 -1
View File
@@ -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() {