logg added during download

This commit is contained in:
Sandro La Bruzzo 2024-01-23 15:04:49 +01:00
parent e0753f19da
commit 43e0bba7ed
2 changed files with 2 additions and 2 deletions

View File

@ -113,7 +113,8 @@ public class ORCIDWorker extends Thread {
file.hflush(); file.hflush();
} }
} } else
log.error("Thread {} response is null for {} URL:{}", id, url, orcidId);
} }

View File

@ -128,7 +128,6 @@ public class OrcidGetUpdatesFile {
.map(s -> s[0]) .map(s -> s[0])
.forEach(s -> { .forEach(s -> {
try { try {
log.info("Adding item ");
queue.put(s); queue.put(s);
} catch (InterruptedException e) { } catch (InterruptedException e) {
throw new RuntimeException(e); throw new RuntimeException(e);