Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@ private void updateIssnGroupIdRecords() {
updateIssnEntity(issnEntity, issnData);
LOG.info("Updated group id record {} - {}, processed count now {}",
new Object[]{issnEntity.getId(), issnEntity.getGroupId(), Integer.toString(total)});
} else {
LOG.warn("Extraction failed or returned null for ISSN: {}", issn);
recordFailure(issnEntity, "General extraction failure or null response");
}
} catch(TooManyRequestsException tmre) {
//We are being rate limited, we have to pause for 'pause' minutes
Expand Down Expand Up @@ -135,8 +138,8 @@ private void updateIssnGroupIdRecords() {
LOG.warn("InterruptedException for issn {}", issn);
recordFailure(issnEntity, "InterruptedException");
} catch(JSONException e) {
LOG.warn("InterruptedException for issn {}", issn);
recordFailure(issnEntity, "InterruptedException");
LOG.warn("JSONException for issn {}", issn);
recordFailure(issnEntity, "JSONException");
}
} else {
LOG.info("Issn for group record {} not valid: {}", issnEntity.getId(), issnEntity.getGroupId());
Expand Down
Loading