Skip to content

Commit 321fb32

Browse files
committed
fixed error in iteration log message
1 parent d18123a commit 321fb32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openevolve/controller.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ async def run(
366366
self.database.save(temp_db_path, iteration)
367367
iteration += 1
368368
except Exception as e:
369-
logger.error(f"Error in iteration {i+1}: {str(e)}")
369+
logger.error(f"Error in iteration {iteration}: {str(e)}")
370370
continue
371371
shutil.rmtree(temp_db_path)
372372
# Get the best program using our tracking mechanism

0 commit comments

Comments
 (0)