Skip to content

Commit

Permalink
add some more tracing
Browse files Browse the repository at this point in the history
Signed-off-by: Iulian Barbu <iulian.barbu@parity.io>
  • Loading branch information
iulianbarbu committed Sep 6, 2024
1 parent 3b2e763 commit fc72a94
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cumulus/client/relay-chain-rpc-interface/src/rpc_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,10 @@ impl RelayChainRpcClient {
metrics: prometheus_registry
.and_then(|inner| BlockchainRpcMetrics::register(inner).map_err(|err| {
tracing::warn!(target:LOG_TARGET, error = %err, "Unable to instantiate the RPC client metrics, continuing w/o metrics setup.");
}).ok()),
}).ok().and_then(|inner| {
tracing::debug!("BlockchainRpcMetrics were installed successfully.");
Some(inner)
})),
}
}

Expand Down

0 comments on commit fc72a94

Please sign in to comment.