buildit stops execution on errors (if a task returns with a nonzero exit code). Maybe I don't understand how you're defining "error".
errors
Posted byianbat
2008-06-22 02:20 AM
Errors are anything that gets the build wrong. Exceptions should be raised in case of an error, but of course they aren't always. E.g., if a script has a non-zero return code, or if a file is only partially fetched.
Good error handling is not just halting on an error. You have to show everything that led up to the error, hopefully leave out some things that are distracting, give a clear explanation of the error. If it's an error that is not entirely unexpected, then there's other ways to gracefully handle it that go beyond ignoring or fully aborting because of the error. If it is a fatal but expected error you should suggest ways of resolving the error in the system.
Good error handling is not just halting on an error. You have to show everything that led up to the error, hopefully leave out some things that are distracting, give a clear explanation of the error. If it's an error that is not entirely unexpected, then there's other ways to gracefully handle it that go beyond ignoring or fully aborting because of the error. If it is a fatal but expected error you should suggest ways of resolving the error in the system.
Replies to this comment