79435696

Date: 2025-02-13 09:45:15
Score: 1
Natty:
Report link

As you stated, the 3rd condition is not satisfied. Recover won't work in a nested function because panic propagates through the call stack "downward" and in the 2nd snippet, the recover() call in the customRecover function is "upward" from the panic perspective, so it doesn't "see" the panic.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: xflr6