Skip to content

Commit

Permalink
fix valuable
Browse files Browse the repository at this point in the history
  • Loading branch information
randomairborne committed May 29, 2024
1 parent 88990f3 commit 4c49899
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/services.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use axum::extract::State;
use parking_lot::RwLock;
use reqwest::Client;
use tokio::{join, select};
use tracing_core::field::valuable;
use valuable::Valuable;

use crate::{
structures::{
Expand Down Expand Up @@ -179,7 +179,7 @@ async fn get_minecraft(client: Client) -> Status {
if data.as_slice() == expected {
Status::Operational
} else {
warn!(expected = ?expected, data = valuable(&data), "Got non-matching Minecraft API data");
warn!(expected = ?expected, data = data.as_value(), "Got non-matching Minecraft API data");
Status::PossibleProblems
}
}

0 comments on commit 4c49899

Please sign in to comment.