MetaCredo. Check. Warning. RaiseInsideRescue
(MetaCredo v0.1.0)
View Source
Detects bare raise or throw inside rescue/exception handling blocks
without re-raise semantics. Using raise inside a rescue block instead
of reraise loses the original stack trace, making debugging harder.
Use reraise(exception, __STACKTRACE__) to preserve the original trace.
Category: Warning / Priority: high