summaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools/harvest
diff options
context:
space:
mode:
Diffstat (limited to 'python/fatcat_tools/harvest')
-rw-r--r--python/fatcat_tools/harvest/doi_registrars.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/python/fatcat_tools/harvest/doi_registrars.py b/python/fatcat_tools/harvest/doi_registrars.py
index f84acb24..37628f09 100644
--- a/python/fatcat_tools/harvest/doi_registrars.py
+++ b/python/fatcat_tools/harvest/doi_registrars.py
@@ -142,10 +142,6 @@ class HarvestCrossrefWorker:
self.producer.poll(0)
time.sleep(30.0)
continue
- if http_resp.status_code == 400:
- print("skipping batch for {}, due to HTTP 400. Marking complete. Related: https://github.com/datacite/datacite/issues/897".format(date_str),
- file=sys.stderr)
- break
http_resp.raise_for_status()
resp = http_resp.json()
items = self.extract_items(resp)