From 9a3785f2ac6b3782d354e91aec7719c276083ab3 Mon Sep 17 00:00:00 2001 From: BKadirkhodjaev Date: Wed, 21 Aug 2024 18:36:14 +0500 Subject: [PATCH] [MODORDERS-1169]. Update an exception message --- .../java/org/folio/helper/CheckinReceivePiecesHelper.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/folio/helper/CheckinReceivePiecesHelper.java b/src/main/java/org/folio/helper/CheckinReceivePiecesHelper.java index 3c5029b7c..171fe63d6 100644 --- a/src/main/java/org/folio/helper/CheckinReceivePiecesHelper.java +++ b/src/main/java/org/folio/helper/CheckinReceivePiecesHelper.java @@ -648,9 +648,9 @@ private Future createHoldingsForChangedLocations(Piece piece, String in }) .onFailure(t -> { String msg = Optional.ofNullable(piece.getLocationId()) - .map(pieceLocation -> "location : " + pieceLocation) - .orElse("holding : " + piece.getHoldingId()); - logger.error("createHoldingsForChangedLocations:: Cannot create holding for specified piece, msg: {}", msg); + .map(pieceLocation -> "locationId: " + pieceLocation) + .orElse("holdingId: " + piece.getHoldingId()); + logger.error("createHoldingsForChangedLocations:: Cannot create holding for specified piece, {}", msg); addError(piece.getPoLineId(), piece.getId(), ITEM_UPDATE_FAILED.toError()); }); }