Fixed alias lambda function when lambda function throws an exception.