From 43130b3ee97d45373fd6c9555dde8c524e370917 Mon Sep 17 00:00:00 2001 From: Erik Desjardins Date: Mon, 22 Jul 2019 19:11:02 -0400 Subject: [PATCH] actix-files: "Specified path is not a directory" error now includes the path --- 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 {