[ https://issues.apache.org/jira/browse/MPMD-412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17956784#comment-17956784 ]
ASF GitHub Bot commented on MPMD-412: ------------------------------------- elharo commented on PR #226: URL: https://github.com/apache/maven-pmd-plugin/pull/226#issuecomment-2954104700 Previously we were suppressing the exception with an empty catch block. This seems to have hidden failures in existing tests. With PR we are no longer hiding such failures > Tests are inobviously broken due to overly broad catch clauses > -------------------------------------------------------------- > > Key: MPMD-412 > URL: https://issues.apache.org/jira/browse/MPMD-412 > Project: Maven PMD Plugin (Moved to GitHub Issues) > Issue Type: Bug > Reporter: Elliotte Rusty Harold > Priority: Blocker > > See https://github.com/apache/maven-pmd-plugin/pull/178 > We're catching java.lang.Exception and thus often missing that the wrong > exception is being caught, and that the test is in fact failing. -- This message was sent by Atlassian Jira (v8.20.10#820010)