do not ignore pipeline errors
This commit is contained in:
@@ -180,10 +180,10 @@ async fn transcode(src: &Path, dest: &Path) -> Result<(), Error> {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
.take_while(|e| {
|
.take_while(|e| {
|
||||||
if let Ok(true) = e {
|
if let Ok(false) = e {
|
||||||
futures::future::ready(true)
|
|
||||||
} else {
|
|
||||||
futures::future::ready(false)
|
futures::future::ready(false)
|
||||||
|
} else {
|
||||||
|
futures::future::ready(true)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.try_for_each(|_| futures::future::ready(Ok(())))
|
.try_for_each(|_| futures::future::ready(Ok(())))
|
||||||
|
|||||||
Reference in New Issue
Block a user