mirror of
https://github.com/karma-riuk/crab-webapp.git
synced 2025-07-05 14:18:12 +02:00
included the error message to the results in case
of failure for code refinement
This commit is contained in:
@ -84,6 +84,7 @@ def evaluate_refinement(answers: dict[str, dict[str, str]], percent_cb):
|
||||
results[id][task] = True
|
||||
except Exception as e:
|
||||
results[id][task] = False
|
||||
results[id][task + "_error_msg"] = str(e)
|
||||
print(
|
||||
f"[ERROR] {id} ({entry.metadata.repo} #PR {entry.metadata.pr_number}) {type(e)}: {e}",
|
||||
file=sys.stderr,
|
||||
|
Reference in New Issue
Block a user