Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Add exceptions thrown to TaskTeardownContext #2130
I would like to be able to tell if a Task was successful in TaskTeardown. Currently there is no way to do it. The solution suggested multiple times in the chat does not work. (https://gitter.im/cake-build/cake?at=59e5f58c210ac26920f84026). The issue with that is that TaskTeardown always gets called even when it failed.
If the Exception thrown could be added to TaskTeardownContext, then it would be easy to tell if the task had failed.