ai-automation-consultant / Failure Lab

Python Parser Silent Drop

A parser catches every exception and silently skips failed documents.

Category

python

Difficulty

standard

Last Run

none

Incident Brief

Diagnose why fewer documents reach review than were uploaded.

Broken State

The Python document parser uses a broad except block that continues without recording failed files.

Symptoms

  • Upload count is 42 but review queue count is 37.
  • No error report identifies the five missing documents.

Trace

uploaded=42 parsed=37 failed=0
except Exception: continue

Diagnosis