diff --git a/job/tasks.py b/job/tasks.py index 540bcae..4483075 100644 --- a/job/tasks.py +++ b/job/tasks.py @@ -252,7 +252,7 @@ def process_jobs(account_pk: int, job_pks: list[int]): try: job.company = resolve_company(job_data) - except NotValidCompanyError: + except (NotValidCompanyError, AttributeError, KeyError): job.delete() continue