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 cf919de commit 72612cbCopy full SHA for 72612cb
src/cli.rs
@@ -33,6 +33,15 @@ pub fn main(py: Python<'_>) -> PyResult<i64> {
33
match args.run(false).await {
34
Ok(()) => 0,
35
Err(err) => {
36
+ // https://github.com/stac-utils/stacrs/issues/72
37
+ //
38
+ // Don't know why this happens through the Python CLI
39
+ // entry but not through the Rust one 🤷
40
+ if let Some(err) = err.downcast_ref::<std::io::Error>() {
41
+ if err.kind() == std::io::ErrorKind::BrokenPipe {
42
+ return 0;
43
+ }
44
45
eprintln!("ERROR: {}", err);
46
1
47
}
0 commit comments