diff --git a/graph/src/blockchain/block_stream.rs b/graph/src/blockchain/block_stream.rs index 9b70486e54d..343200134cf 100644 --- a/graph/src/blockchain/block_stream.rs +++ b/graph/src/blockchain/block_stream.rs @@ -341,7 +341,7 @@ impl TriggersAdapterWrapper { let store = self .source_subgraph_stores .get(&subgraph_filter.subgraph) - .unwrap(); // TODO(krishna): Avoid unwrap + .ok_or_else(|| anyhow!("Store not found for subgraph: {}", subgraph_filter.subgraph))?; let schema = ::input_schema(store);