Bug 1074200 - Ensure that build fails when an exception happens. r=gduan