Abri amend_job treats an unconfirmed amendment response as retriable 🟩

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Daniel Roth 2026-07-03 16:23:10 +00:00
parent 65ec38012b
commit 096e4ae1f7

View file

@ -133,6 +133,11 @@ class AbriClient:
"AmendOptiAppt element missing from relay response"
)
if amended.get("success") != "Y":
raise AbriResponseParseError(
"AmendOptiAppt element did not confirm success"
)
job_no = amended.get("job_no")
appointment_date = amended.get("appointment_date")
appointment_time = amended.get("appointment_time")