Changed error to failure