Fail when encountering error within pipeline