Update main.rs
This commit is contained in:
parent
de03588cfc
commit
84e14fedbc
|
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue