From 0d5ec3626773edb7d32884c594230c7cc03ae0e7 Mon Sep 17 00:00:00 2001 From: Joris Date: Sun, 2 Jun 2024 12:53:20 +0200 Subject: Simplify logging init --- src/templates.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/templates.rs') diff --git a/src/templates.rs b/src/templates.rs index c537ac7..1f86717 100644 --- a/src/templates.rs +++ b/src/templates.rs @@ -20,7 +20,7 @@ pub fn get() -> Tera { let mut tera = match Tera::new("templates/**/*") { Ok(t) => t, Err(e) => { - error!("Parsing error(s): {}", e); + log::error!("Parsing error(s): {}", e); ::std::process::exit(1); } }; -- cgit v1.2.3