diff options
-rw-r--r-- | askama_shared/src/path.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/askama_shared/src/path.rs b/askama_shared/src/path.rs index f7a3762..c84575f 100644 --- a/askama_shared/src/path.rs +++ b/askama_shared/src/path.rs @@ -38,7 +38,7 @@ pub fn find_template_from_path(path: &str, start_at: Option<&Path>) -> PathBuf { if fs_abs_path.exists() { path.to_owned() } else { - panic!(format!("template '{:?}' not found", path.to_str())); + panic!(format!("template {:?} not found at {:?}", path.to_str().unwrap(), fs_abs_path)); } } |