Use NonFatal matcher for broad catch patterns
ProprietaryFinds catch blocks using broad patterns like case e: Exception => or case _ => that should use scala.util.control.NonFatal to catch all non-fatal exceptions while allowing fatal errors to propagate.
org. openrewrite. scala. errorhandling. UseNonFatalMatchermod run . --recipe= org. openrewrite. scala. errorhandling. UseNonFatalMatcherInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.