The code has a return statement inside a finally block, which will cause any thrown exception in the try block to be discarded.
Do not use a return statement inside the finally block. The finally block should have "cleanup" code.
Our security experts can help you identify and remediate CWE-584 vulnerabilities in your codebase.
Get Security Assessment