From 52372fcbea371c84bf2bf20f17a72577f7841d17 Mon Sep 17 00:00:00 2001 From: erikdesjardins Date: Mon, 22 Jul 2019 20:41:59 -0400 Subject: [PATCH] actix-files: "Specified path is not a directory" error now includes the path (#1004) --- actix-files/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actix-files/src/lib.rs b/actix-files/src/lib.rs index 2eab6405a..816fd92aa 100644 --- a/actix-files/src/lib.rs +++ b/actix-files/src/lib.rs @@ -261,7 +261,7 @@ impl Files { pub fn new>(path: &str, dir: T) -> Files { let dir = dir.into().canonicalize().unwrap_or_else(|_| PathBuf::new()); if !dir.is_dir() { - log::error!("Specified path is not a directory"); + log::error!("Specified path is not a directory: {:?}", dir); } Files {