From 2d2c20cbda6214cd3056e08d7a63fe6c3dad5bd3 Mon Sep 17 00:00:00 2001 From: Yazeed Loonat Date: Tue, 28 Nov 2023 10:49:00 -0700 Subject: [PATCH] fix: now with error displayed --- sites/public/src/pages/applications/review/summary.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sites/public/src/pages/applications/review/summary.tsx b/sites/public/src/pages/applications/review/summary.tsx index 92460268d3..57d62169fe 100644 --- a/sites/public/src/pages/applications/review/summary.tsx +++ b/sites/public/src/pages/applications/review/summary.tsx @@ -77,11 +77,11 @@ const ApplicationSummary = () => { .then(() => { conductor.routeToNextOrReturnUrl() }) - .catch(() => { + .catch((e) => { setValidationError(true) window.scrollTo(0, 0) throw new Error( - "An error occurred while trying to verify the application submission is valid" + `An error occurred while trying to verify the application submission is valid. ${e.message}` ) }) }