The logging system has been brought to a fully functional level.

This commit is contained in:
alex-xr555
2026-09-11 22:34:09 +03:00
parent 991d1c20af
commit aa1d4ba807
7 changed files with 19 additions and 35 deletions

View File

@@ -112,7 +112,7 @@ pub fn add(args: &[String]) -> i32 {
let mut config = match Config::open(&root.join("dcr.toml").to_string_lossy()) {
Ok(cfg) => cfg,
Err(err) => {
error!("{}", &err.to_string());
error!("{err}");
return 1;
}
};

View File

@@ -243,7 +243,7 @@ pub fn build(args: &[String]) -> i32 {
}
Err(err) => {
common::finish_progress_line();
error!("{}", &err.message);
error!("{}", err.message);
1
}
}