shopping-cart
shopping-cart copied to clipboard
sendRedirect potnetial IOExcpetion thrown with no try-catch
Describe the bug A clear and concise description of what the bug is. sendRedirect() is called with no try-catch clause which has th epotential to throw an IOException. To Reproduc e Steps to reproduce the behavior:
- IF there is a netowork or issue with the servlet container. an IOException error is thrown.
Expected behavior A try-catych clause to handle cases of these errors.
Desktop (please complete the following information):
- Linux Ubuntu
- Browser [Chrome]
- Version 123.0.6312.106