Find runCatching { }.onFailure { log… } chains with no further handling
ProprietaryrunCatching { … }.onFailure { log.error("…", it) } — when nothing follows the onFailure — succeeds-on-error rather than just observing. Often fine, but worth a glance: usually the caller still needs to know success/failure happened (return the Result, or chain .getOrElse { fallback }).
org. openrewrite. kotlin. functional. FindRunCatchingForLogOnly$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. functional. FindRunCatchingForLogOnly$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.