diff options
author | Martin Czygan <martin.czygan@gmail.com> | 2020-05-29 15:36:31 +0200 |
---|---|---|
committer | Martin Czygan <martin.czygan@gmail.com> | 2020-05-29 15:36:31 +0200 |
commit | 93645e5cbe47f89be2dd34cb19e0c6164b3a9561 (patch) | |
tree | 08028bc118860d183162574fe848ac851dea46ad /python | |
parent | 92bdf2bd5d99ce6eb76ea1dcec27e21c6f362651 (diff) | |
download | fatcat-93645e5cbe47f89be2dd34cb19e0c6164b3a9561.tar.gz fatcat-93645e5cbe47f89be2dd34cb19e0c6164b3a9561.zip |
harvest: log the failed url
Diffstat (limited to 'python')
-rw-r--r-- | python/fatcat_tools/harvest/doi_registrars.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/fatcat_tools/harvest/doi_registrars.py b/python/fatcat_tools/harvest/doi_registrars.py index f84acb24..a45c8b41 100644 --- a/python/fatcat_tools/harvest/doi_registrars.py +++ b/python/fatcat_tools/harvest/doi_registrars.py @@ -143,7 +143,7 @@ class HarvestCrossrefWorker: 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), + print("skipping batch for {}, due to HTTP 400 on {}. Marking complete. Related: https://github.com/datacite/datacite/issues/897".format(http_resp.url, date_str), file=sys.stderr) break http_resp.raise_for_status() |