Skip to content

Commit cc1f398

Browse files
committed
graph: improve error message for block not found in Ethereum network
1 parent a633ae2 commit cc1f398

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graph/src/data/subgraph/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ pub enum SubgraphManifestValidationError {
348348
MultipleEthereumNetworks,
349349
#[error("subgraph must have at least one Ethereum network data source")]
350350
EthereumNetworkRequired,
351-
#[error("the specified block must exist on the Ethereum network")]
351+
#[error("the specified block {0} must exist on the Ethereum network")]
352352
BlockNotFound(String),
353353
#[error("schema validation failed: {0:?}")]
354354
SchemaValidationError(Vec<SchemaValidationError>),

0 commit comments

Comments
 (0)