File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
crates/monitor/src/client Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ use graphql_client::GraphQLQuery;
88use reqwest:: { header, Url } ;
99use thegraph_core:: DeploymentId ;
1010use tokio:: sync:: watch:: Receiver ;
11- use tracing:: warn;
11+ use tracing:: { debug , warn} ;
1212
1313pub type ResponseResult < T > = Result < T , anyhow:: Error > ;
1414
@@ -199,6 +199,10 @@ impl SubgraphClient {
199199 // Try the local client first; if that fails, log the error and move on
200200 // to the remote client
201201 if let Some ( ref local_client) = self . local_client {
202+ debug ! (
203+ "Info for local subgraph deployment `{}` status is: `{:#?}` and client is `{:#?}`" ,
204+ local_client. query_url, local_client. status, local_client. http_client
205+ ) ;
202206 match local_client. query :: < Q > ( variables. clone ( ) ) . await {
203207 Ok ( response) => return Ok ( response) ,
204208 Err ( err) => warn ! (
You can’t perform that action at this time.
0 commit comments