fix : mabang sku job error

pull/6221/head
Gauthier LO 2024-02-20 15:52:16 +01:00
parent faa3636c3d
commit 6f45be2f59
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ public class SkuListRawStream implements NetworkDataStream<SkuListResponse> {
if (!hasNext())
throw new NoSuchElementException();
log.info("Sending request for page {}/{}.", toSend.getPage(), toSend.getTotalPages());
log.info("Sending request for page {}/{}.", toSend.getPage(), toSend.getTotal() == null ? "?" : toSend.getTotalPages());
this.currentResponse = new SkuListRequest(toSend).send();
toSend.nextPage();
return this.currentResponse;