Browse Source

If it is not a build exception best to get the full story

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269490 13f79535-47bb-0310-9956-ffa450edef68
master
Conor MacNeill 24 years ago
parent
commit
3572ac711f
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/main/org/apache/tools/ant/DefaultLogger.java

+ 2
- 1
src/main/org/apache/tools/ant/DefaultLogger.java View File

@@ -138,7 +138,8 @@ public class DefaultLogger implements BuildLogger {
else {
err.println(lSep + "BUILD FAILED" + lSep);

if (Project.MSG_VERBOSE <= msgOutputLevel) {
if (Project.MSG_VERBOSE <= msgOutputLevel ||
!(err instanceof BuildException)) {
error.printStackTrace(err);
}
else {


Loading…
Cancel
Save