From cc94bf7573f33436c6dc1cc9eaa353f6b2402e1a Mon Sep 17 00:00:00 2001 From: jeb Date: Wed, 18 Apr 2018 20:52:52 -0600 Subject: [PATCH] split the long warning lines --- contrib/lib/src/templates/fairing.rs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/contrib/lib/src/templates/fairing.rs b/contrib/lib/src/templates/fairing.rs index b48f001436..83e3fb95f2 100644 --- a/contrib/lib/src/templates/fairing.rs +++ b/contrib/lib/src/templates/fairing.rs @@ -56,11 +56,13 @@ mod context { if watcher.watch(ctxt.root.clone(), RecursiveMode::Recursive).is_ok() { Some((watcher, Mutex::new(rx))) } else { - warn!("Could not monitor the templates directory for changes. Live template reload will be unavailable"); + warn!("Could not monitor the templates directory for changes."); + warn!("Live template reload will be unavailable"); None } } else { - warn!("Could not instantiate a filesystem watcher. Live template reload will be unavailable"); + warn!("Could not instantiate a filesystem watcher."); + warn!("Live template reload will be unavailable"); None }; @@ -93,7 +95,8 @@ mod context { custom_callback(&mut new_ctxt.engines); *ctxt = new_ctxt; } else { - warn!("An error occurred while reloading templates. The previous templates will remain active."); + warn!("An error occurred while reloading templates."); + warn!("The previous templates will remain active."); }; } });