diff --git a/src/interfaces/stratz/guild_matches.rs b/src/interfaces/stratz/guild_matches.rs index 1bbc4cdf..c87cbaca 100644 --- a/src/interfaces/stratz/guild_matches.rs +++ b/src/interfaces/stratz/guild_matches.rs @@ -47,10 +47,14 @@ pub async fn query(client: &reqwest::Client, url: Url, guild_id: i64) -> QueryRe .json(&body) .send() .await - .map_err(Error::Requesting)? + .map_err(Error::Requesting)?; + + log::trace!("Parsing response: {response:#?}"); + let data = response .json::() .await .map_err(Error::Parsing)?; - Ok(response) + log::trace!("Returning data: {data:#?}"); + Ok(data) }