From 2146f873589112414b8873517b84e37b30804bd8 Mon Sep 17 00:00:00 2001 From: shiyasmohd Date: Wed, 5 Mar 2025 11:35:52 +0530 Subject: [PATCH] graph: improve error message for block not found in Ethereum network --- graph/src/data/subgraph/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graph/src/data/subgraph/mod.rs b/graph/src/data/subgraph/mod.rs index d14b2c89b29..269038d08d0 100644 --- a/graph/src/data/subgraph/mod.rs +++ b/graph/src/data/subgraph/mod.rs @@ -348,7 +348,7 @@ pub enum SubgraphManifestValidationError { MultipleEthereumNetworks, #[error("subgraph must have at least one Ethereum network data source")] EthereumNetworkRequired, - #[error("the specified block must exist on the Ethereum network")] + #[error("the specified block {0} must exist on the Ethereum network")] BlockNotFound(String), #[error("schema validation failed: {0:?}")] SchemaValidationError(Vec),