diff --git a/crates/monitor/src/client/subgraph_client.rs b/crates/monitor/src/client/subgraph_client.rs index 12009168..77673c88 100644 --- a/crates/monitor/src/client/subgraph_client.rs +++ b/crates/monitor/src/client/subgraph_client.rs @@ -8,7 +8,7 @@ use graphql_client::GraphQLQuery; use reqwest::{header, Url}; use thegraph_core::DeploymentId; use tokio::sync::watch::Receiver; -use tracing::warn; +use tracing::{debug, warn}; pub type ResponseResult = Result; @@ -199,6 +199,10 @@ impl SubgraphClient { // Try the local client first; if that fails, log the error and move on // to the remote client if let Some(ref local_client) = self.local_client { + debug!( + "Info for local subgraph deployment `{}` status is: `{:#?}` and client is `{:#?}`", + local_client.query_url, local_client.status, local_client.http_client + ); match local_client.query::(variables.clone()).await { Ok(response) => return Ok(response), Err(err) => warn!(