From db11ff27f43b4de7c520faebd3657486d00487e5 Mon Sep 17 00:00:00 2001 From: Gambhiro Date: Sun, 14 Aug 2016 14:40:08 +0100 Subject: [PATCH] use warn --- src/book/mod.rs | 2 +- src/renderer/html_handlebars/helpers/playpen.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; }