Skip to content

Commit

Permalink
return error but dont panic when bundle cannot be parsed
Browse files Browse the repository at this point in the history
  • Loading branch information
peeech committed Jun 14, 2024
1 parent 8d49396 commit d32b1f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ pub async fn load_mem_proof_file(bundle_url: &str) -> Result<HashMap<String, Mem

let path = download_file(&url).await?;

let bundle = Bundle::read_from_file(&path).await.unwrap();
let bundle = Bundle::read_from_file(&path).await?;

let AppManifest::V1(manifest) = bundle.manifest();

Expand Down

0 comments on commit d32b1f2

Please sign in to comment.