From fdf92d64e4a85718b87fbb56ff8c11a96ab06c2b Mon Sep 17 00:00:00 2001 From: Diego Cohen Date: Wed, 11 Dec 2024 11:52:52 -0500 Subject: [PATCH] Fix comment --- pages/hold/confirmation/[id].tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pages/hold/confirmation/[id].tsx b/pages/hold/confirmation/[id].tsx index 14440264..4f5eb2ac 100644 --- a/pages/hold/confirmation/[id].tsx +++ b/pages/hold/confirmation/[id].tsx @@ -168,7 +168,9 @@ export async function getServerSideProps({ params, req, res, query }) { const itemBarcode = discoveryBibResult?.items?.[0]?.["idBarcode"]?.[0] if (!itemBarcode) { - throw new Error("Hold Confirmation Page - Item not found") + throw new Error( + "Hold Confirmation Page - Item barcode not found in discoveryBibResult" + ) } const { deliveryLocations } = await fetchDeliveryLocations(