Browse Source

Include more of the stack trace on error.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272045 13f79535-47bb-0310-9956-ffa450edef68
master
adammurdoch 23 years ago
parent
commit
533bf6eaf4
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      proposal/myrmidon/src/java/org/apache/myrmidon/frontends/CLIMain.java
  2. +1
    -1
      proposal/myrmidon/src/java/org/apache/myrmidon/listeners/ClassicProjectListener.java

+ 1
- 1
proposal/myrmidon/src/java/org/apache/myrmidon/frontends/CLIMain.java View File

@@ -403,7 +403,7 @@ public class CLIMain
if( m_priority <= BasicLogger.LEVEL_INFO ) if( m_priority <= BasicLogger.LEVEL_INFO )
{ {
// Verbose mode - include the stack traces // Verbose mode - include the stack traces
message = ExceptionUtil.printStackTrace( throwable, 5, true, true );
message = ExceptionUtil.printStackTrace( throwable, 8, true, true );
} }
else else
{ {


+ 1
- 1
proposal/myrmidon/src/java/org/apache/myrmidon/listeners/ClassicProjectListener.java View File

@@ -95,7 +95,7 @@ public class ClassicProjectListener
final Throwable throwable = event.getThrowable(); final Throwable throwable = event.getThrowable();
if( throwable != null ) if( throwable != null )
{ {
getWriter().println( ExceptionUtil.printStackTrace( throwable, 5, true ) );
getWriter().println( ExceptionUtil.printStackTrace( throwable, 8, true ) );
} }
} }
} }

Loading…
Cancel
Save