Switch SnapshotMiddleware over to SnapshotError

This commit is contained in:
Lucien Greathouse
2019-10-09 12:42:08 -07:00
parent a14aacbcf9
commit 28156bcaf2
4 changed files with 8 additions and 4 deletions

View File

@@ -29,7 +29,7 @@ impl SnapshotMiddleware for SnapshotProject {
match imfs.get(project_path) {
Err(ref err) if err.kind() == FsErrorKind::NotFound => {}
Err(err) => return Err(err),
Err(err) => return Err(err.into()),
// TODO: Do we need to muck with the relevant paths if we're a
// project file within a folder? Should the folder path be the