We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
blocks_with_subgraph_triggers
1 parent b35754e commit 72c8848Copy full SHA for 72c8848
graph/src/blockchain/block_stream.rs
@@ -338,7 +338,7 @@ impl<C: Blockchain> TriggersAdapterWrapper<C> {
338
let store = self
339
.source_subgraph_stores
340
.get(&subgraph_filter.subgraph)
341
- .unwrap(); // TODO(krishna): Avoid unwrap
+ .ok_or_else(|| anyhow!("Store not found for subgraph: {}", subgraph_filter.subgraph))?;
342
343
let schema = crate::components::store::ReadStore::input_schema(store);
344
0 commit comments