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 71fc627 commit ae5e72eCopy full SHA for ae5e72e
src/github.rs
@@ -281,7 +281,13 @@ pub async fn command_fetch_release_distributions(args: &ArgMatches) -> Result<()
281
while let Some(res) = buffered.next().await {
282
let Some(data) = res else { continue };
283
284
- let mut za = ZipArchive::new(std::io::Cursor::new(data))?;
+ let mut za = match ZipArchive::new(std::io::Cursor::new(data)) {
285
+ Ok(za) => za,
286
+ Err(err) => {
287
+ eprintln!("failed to read zip archive: {}", err);
288
+ continue;
289
+ }
290
+ };
291
for i in 0..za.len() {
292
let mut zf = za.by_index(i)?;
293
0 commit comments