mirror of
https://github.com/karma-riuk/crab-webapp.git
synced 2025-07-05 06:08:13 +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
|
results[id][task] = True
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
results[id][task] = False
|
results[id][task] = False
|
||||||
|
results[id][task + "_error_msg"] = str(e)
|
||||||
print(
|
print(
|
||||||
f"[ERROR] {id} ({entry.metadata.repo} #PR {entry.metadata.pr_number}) {type(e)}: {e}",
|
f"[ERROR] {id} ({entry.metadata.repo} #PR {entry.metadata.pr_number}) {type(e)}: {e}",
|
||||||
file=sys.stderr,
|
file=sys.stderr,
|
||||||
|
Reference in New Issue
Block a user