Skip to content

Commit

Permalink
Make ANT error message more meaningful without "-verbose"
Browse files Browse the repository at this point in the history
  • Loading branch information
uschindler committed Oct 2, 2017
1 parent 3435a4c commit 8074729
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/de/thetaphi/forbiddenapis/ant/AntTask.java
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ public void info(String msg) {
}
}
} catch (IOException ioe) {
throw new BuildException("IO problem while reading files with API signatures.", ioe);
throw new BuildException("IO problem while reading files with API signatures: " + ioe.getMessage(), ioe);
} catch (ParseException pe) {
throw new BuildException("Parsing signatures failed: " + pe.getMessage(), pe);
}
Expand Down Expand Up @@ -201,7 +201,7 @@ public void info(String msg) {
}
}
} catch (IOException ioe) {
throw new BuildException("Failed to load one of the given class files.", ioe);
throw new BuildException("Failed to load one of the given class files: " + ioe.getMessage(), ioe);
}

try {
Expand Down

0 comments on commit 8074729

Please sign in to comment.