ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 50749] New: <script> should unwrap ScriptException when reporting errors to the user
Date Thu, 10 Feb 2011 05:17:43 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=50749

           Summary: <script> should unwrap ScriptException when reporting
                    errors to the user
           Product: Ant
           Version: 1.8.1
          Platform: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
        AssignedTo: notifications@ant.apache.org
        ReportedBy: trejkaz@trypticon.org


If I put in a <script> which calls some other task and that task fails for some
reason, the reason gets obscured by being wrapped in a ScriptException.  As I
was the one who wrote all the scripts in our builds, people immediately come to
me, assuming that the script is at fault.

The result of running a task via a script should mirror the result of running
it directly.  I suspect that this is just a matter of unwrapping the
ScriptException to expose the real exception, but Ant is not printing the
nested exception so it is not clear how much unwrapping would be needed.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message