Skip to content

Commit

Permalink
Update DataLoader.java
Browse files Browse the repository at this point in the history
fix bug - non-decrementing recursive call after refactor
  • Loading branch information
alexdunnjpl authored Oct 23, 2023
1 parent 562b2ed commit 3119495
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ public int loadBatch(List<String> data, Set<String> errorLidvids, int retries) t

if (retries > 0) {
log.warn("DataLoader.loadBatch() request failed due to \"" + msg + "\" ("+ retries +" retries remaining)");
return loadBatch(data, errorLidvids, retries);
return loadBatch(data, errorLidvids, retries - 1);
}

throw new Exception(msg);
Expand Down

0 comments on commit 3119495

Please sign in to comment.