diff --git a/src/bin/lnk2bodyfile/main.rs b/src/bin/lnk2bodyfile/main.rs index 0f172d5..816ab7b 100644 --- a/src/bin/lnk2bodyfile/main.rs +++ b/src/bin/lnk2bodyfile/main.rs @@ -20,7 +20,7 @@ fn main() -> Result<()> { for filename in cli.lnk_files.iter() { let lnkfile = match LnkFile::try_from(filename) { Ok(file) => file, - Err(e) => {println!("{:#?}", e); continue;}, + Err(why) => {log::error!("{why}"); continue;}, }; lnkfile.print_bodyfile(); }