From c565ebfb01a696beccdc51ff9cd296141e781ba9 Mon Sep 17 00:00:00 2001 From: Matthew Esposito Date: Sat, 29 Jun 2024 10:44:33 -0400 Subject: [PATCH] refactor(log): update some logs --- src/client.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/client.rs b/src/client.rs index 39ec63c..bc07168 100644 --- a/src/client.rs +++ b/src/client.rs @@ -345,11 +345,8 @@ pub async fn json(path: String, quarantine: bool) -> Result { response.headers().get("x-ratelimit-used").and_then(|val| val.to_str().ok().map(|s| s.to_string())), ) { trace!( - "Ratelimit remaining: Header says {}, we have {}. Rollover: {}. Ratelimit used: {}", - remaining, - current_rate_limit, + "Ratelimit remaining: Header says {remaining}, we have {current_rate_limit}. Resets in {reset}. Rollover: {}. Ratelimit used: {used}", if is_rolling_over { "yes" } else { "no" }, - used, ); Some(reset) } else {