fix: fitness.sh individual-scoring path still silences errors (#766)

This commit is contained in:
openhands 2026-03-14 19:07:17 +00:00
parent a734c5b3f6
commit ab40930812

View file

@ -516,7 +516,7 @@ PYEOF
) || SCORE=0
else
# Anvil mode (or revm fallback): score candidate individually.
SCORE=$(bash "$FITNESS_SH" "$CAND_FILE" 2>/dev/null) || FITNESS_EC=$?
SCORE=$(bash "$FITNESS_SH" "$CAND_FILE") || FITNESS_EC=$?
# Exit 2 = infrastructure error (Anvil down, missing tools): abort immediately.
if [ "$FITNESS_EC" -eq 2 ]; then