Skip to content

Commit

Permalink
Update retry.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
diptanu authored Jan 28, 2025
1 parent 6aaff7e commit 6280f42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions object_store/src/client/retry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ use reqwest::header::LOCATION;
use reqwest::{Client, Request, Response, StatusCode};
use std::error::Error as StdError;
use std::time::{Duration, Instant};
use tracing::info;
use tracing::{info, debug};

/// Retry request error
#[derive(Debug, thiserror::Error)]
Expand Down Expand Up @@ -296,7 +296,7 @@ impl RetryableRequest {
})?;

let response_body = String::from_utf8_lossy(&bytes);
info!("Checking for error in response_body: {}", response_body);
debug!("Checking for error in response_body: {}", response_body);

if !body_contains_error(&response_body) {
// Success response and no error, clone and return response
Expand Down

0 comments on commit 6280f42

Please sign in to comment.