Skip to content

Commit

Permalink
fix: abort on errror
Browse files Browse the repository at this point in the history
  • Loading branch information
dignifiedquire committed Nov 17, 2023
1 parent f6f0c59 commit b176e98
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions iroh/src/commands/blob.rs
Original file line number Diff line number Diff line change
Expand Up @@ -893,6 +893,9 @@ pub async fn show_download_progress(
DownloadProgress::AllDone => {
break;
}
DownloadProgress::Abort(e) => {
bail!("download aborted: {:?}", e);
}
_ => {}
}
}
Expand Down

0 comments on commit b176e98

Please sign in to comment.