diff --git a/src/book/mod.rs b/src/book/mod.rs index 9a2f17c4..62abece4 100644 --- a/src/book/mod.rs +++ b/src/book/mod.rs @@ -42,7 +42,7 @@ impl MDBook { pub fn new(root: &Path) -> MDBook { if !root.exists() || !root.is_dir() { - info!("{:?} No directory with that name", root); + warn!("{:?} No directory with that name", root); } MDBook { diff --git a/src/renderer/html_handlebars/helpers/playpen.rs b/src/renderer/html_handlebars/helpers/playpen.rs index ed76e9ba..8cf9059f 100644 --- a/src/renderer/html_handlebars/helpers/playpen.rs +++ b/src/renderer/html_handlebars/helpers/playpen.rs @@ -20,7 +20,7 @@ pub fn render_playpen(s: &str, path: &Path) -> String { // Check if the file exists if !playpen.rust_file.exists() || !playpen.rust_file.is_file() { - info!("[-] No file exists for {{{{#playpen }}}}\n {}", playpen.rust_file.to_str().unwrap()); + warn!("[-] No file exists for {{{{#playpen }}}}\n {}", playpen.rust_file.to_str().unwrap()); continue; }