Inspectopedia
 
2024.3

'return' inside 'finally' block

Warning
Last modified: 03 December 2024

Reports return statements inside of finally blocks.

While occasionally intended, such return statements may mask thrown exceptions and complicate debugging.

Example: