Open fails silently, fix #1493 (#1495)

* Fix #1493

The error was wrongfully discarded

* Run cargo fmt
This commit is contained in:
Sosthene-Guedon 2020-03-17 05:40:04 +01:00 committed by GitHub
parent b36d21e76f
commit 0d244a9701
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -676,9 +676,8 @@ async fn process_line(
break;
}
}
_ => {
break;
}
Ok(None) => break,
Err(e) => return LineResult::Error(line.to_string(), e),
}
}
}