Find catch blocks with empty bodies
ProprietaryAn empty catch block silently swallows failures — usually a bug or, at minimum, a missing comment explaining the intent. Flag for review so a reviewer or LLM agent can either log, rethrow, or document the swallow.
org. openrewrite. kotlin. search. FindEmptyCatchBlocks$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. search. FindEmptyCatchBlocks$KtRecipe'Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.