summaryrefslogtreecommitdiffstats
path: root/python/tests/harvest_state.py
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2020-07-10 22:47:02 +0200
committerMartin Czygan <martin.czygan@gmail.com>2020-07-10 22:47:02 +0200
commit3e5056b02b22d9df43db0d95ecd770a360dcd357 (patch)
treeb0183d3332cfac1fa72c4ef02f676ea7b0989c2a /python/tests/harvest_state.py
parent46cdaee79737e8fc18de2fc3a8286d0622ec8cdf (diff)
downloadfatcat-3e5056b02b22d9df43db0d95ecd770a360dcd357.tar.gz
fatcat-3e5056b02b22d9df43db0d95ecd770a360dcd357.zip
datacite: mitigate sentry #44035
According to sentry, running `c.get('nameIdentifiers', []) or []` on a c with value: ``` {'affiliation': [], 'familyName': 'Guidon', 'givenName': 'Manuel', 'nameIdentifiers': {'nameIdentifier': 'https://orcid.org/0000-0003-3543-6683', 'nameIdentifierScheme': 'ORCID', 'schemeUri': 'https://orcid.org'}, 'nameType': 'Personal'} ``` results in a string, which I cannot reproduce. The document in question at: https://api.datacite.org/dois/10.26275/kuw1-fdls seems fine, too.
Diffstat (limited to 'python/tests/harvest_state.py')
0 files changed, 0 insertions, 0 deletions