Skip to content

Commit

Permalink
Workaround for non-existant statustypes from eSuite
Browse files Browse the repository at this point in the history
  • Loading branch information
alextreme committed Dec 14, 2023
1 parent 36fa48a commit 6487845
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/open_inwoner/openzaak/zgw_imports.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,8 @@ def import_statustype_configs_for_type(
# load urls and update/create records
for statustype_url, using_zaak_types in info_queue.items():
status_type = fetch_single_status_type(statustype_url)
if not status_type: # Statustype isn't available anymore?
continue

zaaktype_statustype = info_map.get(status_type.url)
if zaaktype_statustype:
Expand Down

0 comments on commit 6487845

Please sign in to comment.