Make addError handle exceptions the same way as addFailure.