From ed57b12f2dacb7cec1f5c4ec33c187d3619b3ad0 Mon Sep 17 00:00:00 2001 From: dark0dave Date: Fri, 5 Jul 2024 08:06:51 +0100 Subject: [PATCH] fix(autolog): Default setting Signed-off-by: dark0dave --- src/args.rs | 2 +- src/utils.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/args.rs b/src/args.rs index 826ffe7..c4ea7e1 100644 --- a/src/args.rs +++ b/src/args.rs @@ -58,7 +58,7 @@ pub struct Args { pub timeout: usize, /// Weidu log setting "--autolog" is default - #[clap(env, long, short='u', default_value = "--autolog", value_parser = parse_weidu_log_mode, required = false)] + #[clap(env, long, short='u', default_value = "autolog", value_parser = parse_weidu_log_mode, required = false)] pub weidu_log_mode: String, } diff --git a/src/utils.rs b/src/utils.rs index 2be3c08..46c642e 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -26,7 +26,7 @@ pub fn copy_mod_folder(game_directory: &Path, mod_folder: &Path) { options.skip_exist = true; let copied = copy(mod_folder, game_directory, &options); if let Err(error) = copied { - log::error!("Failed to copy with error: {}", error); + log::error!("Failed to copy mod {:?} with error: {}", mod_folder, error); panic!() } }