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 0d2cd4d commit 943f821Copy full SHA for 943f821
graph/src/blockchain/block_stream.rs
@@ -341,7 +341,7 @@ impl<C: Blockchain> TriggersAdapterWrapper<C> {
341
let store = self
342
.source_subgraph_stores
343
.get(&subgraph_filter.subgraph)
344
- .unwrap(); // TODO(krishna): Avoid unwrap
+ .ok_or_else(|| anyhow!("Store not found for subgraph: {}", subgraph_filter.subgraph))?;
345
346
let schema = <dyn crate::components::store::SourceableStore>::input_schema(store);
347
0 commit comments