forked from Yara724/api
invalid image formats after two retries skips
This commit is contained in:
@@ -82,8 +82,15 @@ Existing claim/damage IDs and successful image receipts are reused. A previously
|
||||
skipped attachment stage is retried. Completion is checked against a fresh read
|
||||
of the saved receipts for all current local image candidates, not just the
|
||||
attachment stage's status or an upload response saying success. Missing local
|
||||
files, rejected uploads, and unconfirmed receipts stop expertise submission.
|
||||
If there are no local attachment candidates, there is nothing to upload.
|
||||
files, non-format rejected uploads, and unconfirmed receipts stop expertise
|
||||
submission. If there are no local attachment candidates, there is nothing to
|
||||
upload.
|
||||
|
||||
Invalid file format (`فرمت فایل معتبر نیست` / local magic-byte rejection) is
|
||||
retried once in the same submit. If the second attempt still fails, the file is
|
||||
permanently waived (`FANAVARAN_ATTACHMENT_FORMAT_WAIVED` on the skipped attempt).
|
||||
Waived files count as handled: they are not re-uploaded and do not block
|
||||
expertise or later stages.
|
||||
|
||||
Errors identify `stage` (`baseClaim`, `damageCase`, or `attachments`) and preserve
|
||||
vendor details. An attachment failure includes:
|
||||
|
||||
Reference in New Issue
Block a user