freelawproject / juriscraper

An API to scrape American court websites for metadata.
https://free.law/juriscraper/
BSD 2-Clause "Simplified" License
378 stars 111 forks source link

Claims Register parsing failure: KeyError: 'case_name' #630

Open sentry-io[bot] opened 1 year ago

sentry-io[bot] commented 1 year ago

Sentry Issue: COURTLISTENER-2Y6

KeyError: 'case_name'
  File "celery/app/trace.py", line 704, in __protected_call__
    return self.run(*args, **kwargs)
  File "cl/recap/tasks.py", line 704, in process_recap_claims_register
    data = report.data
  File "juriscraper/pacer/claims_register.py", line 48, in data
    data = self.metadata.copy()
  File "juriscraper/pacer/claims_register.py", line 106, in metadata
    data["case_name"] = harmonize(data["case_name"])
sentry-io[bot] commented 1 year ago

Sentry issue: COURTLISTENER-4PZ