Trivial fix. Improve the error message to print the cause of the module resolution failure if present.
------------- Commit messages: - 8326979: (jdeps) improve the error message for FindException caused by InvalidModuleDescriptorException Changes: https://git.openjdk.org/jdk/pull/18308/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18308&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8326979 Stats: 89 lines in 2 files changed: 88 ins; 0 del; 1 mod Patch: https://git.openjdk.org/jdk/pull/18308.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/18308/head:pull/18308 PR: https://git.openjdk.org/jdk/pull/18308