Skip to content

Commit

Permalink
Updated path not found error to be a bit more descriptive. (#89)
Browse files Browse the repository at this point in the history
* Updated path not found error

* Even clearer error message
  • Loading branch information
JacobStephenson97 authored Jan 23, 2024
1 parent 34b6955 commit 323b351
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dotenv/src/find.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ pub fn find(directory: &Path, filename: &Path) -> Result<PathBuf> {
} else {
Err(Error::Io(io::Error::new(
io::ErrorKind::NotFound,
"path not found",
"dotenv file not found in parent directory",
)))
}
}

0 comments on commit 323b351

Please sign in to comment.