Skip to content

Commit aa51425

Browse files
committed
add detailed logging for buggy
1 parent bb00b79 commit aa51425

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

aide/agent.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -426,6 +426,9 @@ def parse_exec_result(self, node: Node, exec_result: ExecutionResult):
426426

427427
if node.is_buggy:
428428
logger.info(f"Parsed results: Node {node.id} is buggy")
429+
#add more detailed reason
430+
if node.exc_type is not None:
431+
logger.info(f"Node {node.id} execution error type: {node.exc_type}")
429432
node.metric = WorstMetricValue()
430433
else:
431434
logger.info(f"Parsed results: Node {node.id} is not buggy")

0 commit comments

Comments
 (0)