shopping-cart icon indicating copy to clipboard operation
shopping-cart copied to clipboard

sendRedirect potnetial IOExcpetion thrown with no try-catch

Open MattWong128 opened this issue 10 months ago • 0 comments

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:

  1. 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

MattWong128 avatar Apr 08 '24 02:04 MattWong128