Skip to content

Commit

Permalink
blockreader.rs bad subpath returns InvalidInput
Browse files Browse the repository at this point in the history
  • Loading branch information
jtmoon79 committed May 5, 2024
1 parent 66bb011 commit 2ff222e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/readers/blockreader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -572,8 +572,9 @@ impl BlockReader {
path
);
return Result::Err(Error::new(
// TODO: use `ErrorKind::InvalidFilename` when it is stable
ErrorKind::NotFound,
// TODO: TRACKING: use `ErrorKind::InvalidFilename` when it is stable
// <https://github.com/rust-lang/rust/issues/86442>
ErrorKind::InvalidInput,
format!(
"Given Filetype {:?} but failed to find delimiter {:?} in {:?}",
filetype, SUBPATH_SEP, path
Expand Down

0 comments on commit 2ff222e

Please sign in to comment.