Skip to content

Commit 96e4219

Browse files
committed
fix: keep the original error message
1 parent 26683ef commit 96e4219

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/dips/src/ipfs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ impl IpfsFetcher for IpfsClient {
5050
.map_ok(|chunk| chunk.to_vec())
5151
.try_concat()
5252
.await
53-
.map_err(|_| DipsError::SubgraphManifestUnavailable(file.to_string()))?;
53+
.map_err(|e| DipsError::SubgraphManifestUnavailable(format!("{}: {}", file, e)))?;
5454

5555
let manifest: GraphManifest = serde_yaml::from_slice(&content)
5656
.map_err(|_| DipsError::InvalidSubgraphManifest(file.to_string()))?;

0 commit comments

Comments
 (0)