Updated pipeline validation to catch ValidationException