Skip to content

Commit

Permalink
Better logging of cp jar file not founds
Browse files Browse the repository at this point in the history
  • Loading branch information
dmssargent committed Jun 24, 2019
1 parent 416888d commit ee97d7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/davidsar/gent/stubjars/StubJars.java
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ void addJar(@NotNull File jar) {
*/
void addClasspathJar(@NotNull File jar) throws IOException {
if (!jar.exists()) {
throw new IOException("A provided classpath JAR doesn't exist. File: " + jar.getName());
throw new IOException("A provided classpath JAR doesn't exist. File: " + jar.getAbsolutePath());
}
classpathJars.add(JarFile.forFile(jar));
}
Expand Down

0 comments on commit ee97d7e

Please # to comment.