Learning From Failure: How Failing Well Can Boost Productivity