aboutsummaryrefslogtreecommitdiff
path: root/src/templates.rs
diff options
context:
space:
mode:
authorJoris2024-06-02 12:53:20 +0200
committerJoris2024-06-02 12:53:20 +0200
commit0d5ec3626773edb7d32884c594230c7cc03ae0e7 (patch)
tree768b6d6fee0b5409c7a12f5aa7b191a25ca5f2d7 /src/templates.rs
parent76a761630a8e6f5686d7e4384948ed949f702f3b (diff)
Simplify logging initmain
Diffstat (limited to 'src/templates.rs')
-rw-r--r--src/templates.rs2
1 files changed, 1 insertions, 1 deletions
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);
}
};