From 323b351c3264b06e608e3dc5b40fb7d321fe143b Mon Sep 17 00:00:00 2001 From: Jacob Stephenson Date: Tue, 23 Jan 2024 01:02:28 -0500 Subject: [PATCH] Updated path not found error to be a bit more descriptive. (#89) * Updated path not found error * Even clearer error message --- dotenv/src/find.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotenv/src/find.rs b/dotenv/src/find.rs index dd607289..70c45bf3 100644 --- a/dotenv/src/find.rs +++ b/dotenv/src/find.rs @@ -51,7 +51,7 @@ pub fn find(directory: &Path, filename: &Path) -> Result { } else { Err(Error::Io(io::Error::new( io::ErrorKind::NotFound, - "path not found", + "dotenv file not found in parent directory", ))) } }