diff --git a/src/lib.rs b/src/lib.rs index 9a09962..62f7e10 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -327,7 +327,7 @@ impl Databases { .expect("to parse JSON for start_cursor"); } - log::trace!("Querying database with request: {request:#?} and body: {json:#?}"); + log::trace!("Querying database with request: {request:?} and body: {json:?}"); let mut response = (self.request_handler)(request).await?; @@ -360,8 +360,6 @@ mod tests { start_cursor: None, }) .await; - - println!("{databases:#?}"); } #[async_std::test] @@ -375,8 +373,6 @@ mod tests { block_id: "0d253ab0f751443aafb9bcec14012897", }) .await; - - println!("{blocks:#?}") } } @@ -926,7 +922,7 @@ where serde_json::from_value::<DatabaseProperty>(value.to_owned()).unwrap_or_else(|error| { log::warn!( - "Could not parse value because of error, defaulting to DatabaseProperty::Unsupported:\n= ERROR:\n{error:#?}\n= JSON:\n{:#?}\n---", + "Could not parse value because of error, defaulting to DatabaseProperty::Unsupported:\n= ERROR:\n{error:?}\n= JSON:\n{:?}\n---", serde_json::to_string_pretty(&value).expect("to pretty print the database property error") ); DatabaseProperty::Unsupported(value.to_owned())