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.
1 parent 4191eb7 commit 1d550cbCopy full SHA for 1d550cb
graph/src/data/subgraph/mod.rs
@@ -370,7 +370,7 @@ pub enum SubgraphManifestResolveError {
370
NonUtf8,
371
#[error("subgraph is not valid YAML")]
372
InvalidFormat,
373
- #[error("resolve error: {0}")]
+ #[error("resolve error: {0:#}")]
374
ResolveError(#[from] anyhow::Error),
375
}
376
graph/src/data_source/common.rs
@@ -81,7 +81,8 @@ impl UnresolvedMappingABI {
81
self.name, self.file.link
82
)
83
})?;
84
- let contract = Contract::load(&*contract_bytes)?;
+ let contract = Contract::load(&*contract_bytes)
85
+ .with_context(|| format!("failed to load ABI {}", self.name))?;
86
Ok(MappingABI {
87
name: self.name,
88
contract,
0 commit comments