refactor: better logs

This commit is contained in:
zhom committed 2026-10-10 01:11:04 +04:00
1 parent 2604994507
commit bf625fac2c
91 files changed
+4353 -3239

No files matched your search

+1 -5
View File
@@ -158,7 +158,6 @@ mod linux {
#[allow(dead_code)]
pub fn prepare_executable(executable_path: &Path) -> Result<(), Box<dyn std::error::Error>> {
// On Linux, ensure the executable has proper permissions
log::info!("Setting execute permissions for: {:?}", executable_path);
let metadata = std::fs::metadata(executable_path)?;
let mut permissions = metadata.permissions();
@@ -169,10 +168,7 @@ mod linux {
std::fs::set_permissions(executable_path, permissions)?;
log::info!(
"Execute permissions set successfully for: {:?}",
executable_path
);
log::debug!("Execute permission set path={}", executable_path.display());
Ok(())
}
}