Browse Source

Indicate the message that causes the loop

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

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

@@ -2015,7 +2015,8 @@ public class Project {
if (loggingMessage) {
throw new BuildException("Listener attempted to access "
+ (priority == MSG_ERR ? "System.err" : "System.out")
+ " - infinite loop terminated");
+ " with message [" + message
+ "] - infinite loop terminated");
}
try {
loggingMessage = true;


Loading…
Cancel
Save