Solutionunvalidated
Move the `redirect()` call outside the `try/catch` (e.g., set a success flag and redirect after the block), or in the `catch` re-throw only redirect-related errors so they can propagate.
f10ec353-06b5-4626-90de-04a53d767772
Move the redirect() call outside the try/catch (e.g., set a success flag and redirect after the block), or in the catch re-throw only redirect-related errors so they can propagate.