wcs: skip errors when retrieving user forms/drafts (#21200)
This commit is contained in:
parent
071946c627
commit
c4635be6bd
|
@ -192,6 +192,9 @@ class WcsBlurpMixin(object):
|
|||
wcs_site['data'] = json_response
|
||||
elif json_response.get('err', 0) == 0:
|
||||
wcs_site['data'] = json_response['data']
|
||||
else:
|
||||
# skip errors
|
||||
continue
|
||||
# and mark all items with the site info
|
||||
for item in wcs_site['data']:
|
||||
item['site_slug'] = wcs_slug
|
||||
|
|
Loading…
Reference in New Issue