elharo opened a new pull request, #561: URL: https://github.com/apache/maven-jar-plugin/pull/561
Fixes #559 Replaces the broad `catch (Exception e)` in `createArchive()` with `catch (MavenArchiverException e)`, which is the specific checked exception declared by `MavenArchiver.createArchive()`. The `// TODO: improve error handling` comment is removed since the exception type is now correctly scoped. `ArchiverException` (from `addDirectory()`) is a `RuntimeException` and propagates naturally without needing to be caught. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
