jenkinsci / file-parameters-plugin

https://plugins.jenkins.io/file-parameters/
MIT License
14 stars 12 forks source link

Allow for deeply nested causes #192

Closed basil closed 4 months ago

basil commented 4 months ago

Amends https://github.com/jenkinsci/file-parameters-plugin/pull/176 to work with my latest Jakarta prototype, which wraps the javax.servlet.ServletException in one layer of jakarta.servlet.ServletException as part of the compatibility code. Rather than attempt to peel back the layers with more null checks, I am simply using a Guava method to get the deepest exception.

Testing done

mvn clean verify now passes on both the default branch and my Jakarta prototype