Skip to content

Commit

Permalink
[DSM] PEPPER-947 changes from RC (#2618)
Browse files Browse the repository at this point in the history
PEPPER-947 changes from RC
  • Loading branch information
pegahtah authored Aug 4, 2023
1 parent 8925273 commit a36e412
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ public Optional<ScanError> updateKitRequest(KitRequestShipping kitRequestShippin
}
}
} catch (Exception ex) {
logger.error("Not able to update the kit for ddpLabel " + kitRequestShipping.getDdpLabel(), ex);
dbVals.resultValue = new ScanError(kitRequestShipping.getDdpLabel(),
"Kit Label \"" + kitRequestShipping.getDdpLabel() + "\" was already scanned.\n"
+ UserErrorMessages.IF_QUESTIONS_CONTACT_DEVELOPER);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public List<ScanError> get() {
public List<ScanError> getRGPFinalScan() {
List<ScanError> result = new ArrayList<>();
for (ScanPayload scanPayload : kitPayload.getScanPayloads()) {
process(scanPayload).ifPresentOrElse(maybeScanError -> result.add(maybeScanError), () -> result.add(null));
processRGPFinalScan(scanPayload).ifPresentOrElse(maybeScanError -> result.add(maybeScanError), () -> result.add(null));
}
return result;
}
Expand Down

0 comments on commit a36e412

Please sign in to comment.