Update main.rs

This commit is contained in:
Villers Krisztián 2026-05-04 22:36:45 +02:00
parent de03588cfc
commit 84e14fedbc
1 changed files with 2 additions and 2 deletions

View File

@ -152,10 +152,10 @@ fn main() -> Result<(), Box<dyn Error>> {
// Export to Excel // Export to Excel
match export_to_excel(&items, &out_path) { match export_to_excel(&items, &out_path) {
Ok(_) => { Ok(_) => {
logger.log(&format!("Export successful - {} rows exported to {}", items.len(), out_path)); logger.log(&format!("Export successful - {} rows exported to {}", items.len(), out_path));
} }
Err(e) => { Err(e) => {
logger.log_error(&format!("Export failed: {}", e)); logger.log_error(&format!("Export failed: {}", e));
return Err(e); return Err(e);
} }
} }