Skip to content

Commit

Permalink
fix: now with error displayed
Browse files Browse the repository at this point in the history
  • Loading branch information
YazeedLoonat committed Nov 28, 2023
1 parent 5b0b04f commit 2d2c20c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sites/public/src/pages/applications/review/summary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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}`
)
})
}
Expand Down

0 comments on commit 2d2c20c

Please sign in to comment.