fix(monitoring): treat GOA:0 accept-uri failure as warning only
This commit is contained in:
parent
66815f81c2
commit
e3d03edb71
1 changed files with 10 additions and 2 deletions
|
|
@ -291,12 +291,20 @@ for AMT in "$@"; do
|
|||
ok "accept-uri $AMT ${ms_accept}ms"
|
||||
else
|
||||
ms_accept=$(elapsed_ms "$t0")
|
||||
note="accept-uri failed: $(tail -c 120 "$SCRATCH/accept-$tag.out" | tr '\n' ' ')"
|
||||
note="accept-uri failed: $(tail -c 160 "$SCRATCH/accept-$tag.out" | tr '\n' ' ')"
|
||||
ms_total=$(elapsed_ms "$t_rung")
|
||||
if [ "$IS_ZERO" = "1" ]; then
|
||||
# GOA:0 often has no denominations — probe only, do not stop the ladder
|
||||
status="ZERO_SKIP"
|
||||
note="zero-withdraw skip (no denoms / accept failed): $note"
|
||||
warn wallet "accept $AMT" "$note"
|
||||
echo -e "${rung}\t${range_note}\t${AMT}\t${status}\t${ms_mint}\t${ms_accept}\t${ms_confirm}\t${ms_settle}\t${ms_total}\t${WID}\t${note}" >>"$TSV"
|
||||
continue
|
||||
fi
|
||||
err wallet "accept $AMT" "$note"
|
||||
status="FAIL_ACCEPT"
|
||||
STOP_REASON="$note"
|
||||
STOP_AMOUNT="$AMT"
|
||||
ms_total=$(elapsed_ms "$t_rung")
|
||||
echo -e "${rung}\t${range_note}\t${AMT}\t${status}\t${ms_mint}\t${ms_accept}\t${ms_confirm}\t${ms_settle}\t${ms_total}\t${WID}\t${note}" >>"$TSV"
|
||||
FAIL_N_L=$((FAIL_N_L + 1))
|
||||
break
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue