forked from D-Net/dnet-hadoop
logg added during download
This commit is contained in:
parent
e0753f19da
commit
43e0bba7ed
|
@ -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);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue