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 @@ -26,6 +26,10 @@ public ReportDataEndpoint(ReportDataParams params) {
@Override
public List<LedgerEntry> processZipResponse(ZipInputStream zipStream) throws IOException {
ZipEntry zipEntry = zipStream.getNextEntry();
if (zipEntry == null) {
log.error("No entries found in zip stream, report will be empty");
return List.of();
}

log.info("Processing zip entry: {}", zipEntry.getName());
InputStreamReader streamReader = new InputStreamReader(zipStream);
Expand Down