Bug 277013 - Errors during build should be child status, not wrapped, so clearer in log
Summary: Errors during build should be child status, not wrapped, so clearer in log
Status: RESOLVED DUPLICATE of bug 274686
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 3.5   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Resources-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-19 17:36 EDT by Kevin McGuire CLA
Modified: 2009-05-22 10:54 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin McGuire CLA 2009-05-19 17:36:39 EDT
3.5 RC1

In bug #272371 we changed how we handle errors during build.

However, as part of that we now wrap the actual exception in one that says, 
"Errors running builder <B> on project <P>".  To see what the actual triggering exception is you must get the details of the status.

Instead, I think we should make that new status a multi status, with the original exception as a child status.  So if the error was "Assertion failed" then the log would look like:

  Errors occurred during build
    Errors running builder <B> on project <P>
      Assertion Failed


That way, it's clear what the real problem was, as well as the context.
Comment 1 John Arthorne CLA 2009-05-22 10:45:02 EDT
I think this is covered by item 1 in bug 274686.

*** This bug has been marked as a duplicate of bug 274686 ***
Comment 2 Kevin McGuire CLA 2009-05-22 10:54:46 EDT
And here I just thought I dreamed logging it the first time :)  oops sorry!