diff --git a/orca-front50/src/main/groovy/com/netflix/spinnaker/orca/front50/tasks/StartPipelineTask.groovy b/orca-front50/src/main/groovy/com/netflix/spinnaker/orca/front50/tasks/StartPipelineTask.groovy index dbae6fdda6..3ec7fb8aee 100644 --- a/orca-front50/src/main/groovy/com/netflix/spinnaker/orca/front50/tasks/StartPipelineTask.groovy +++ b/orca-front50/src/main/groovy/com/netflix/spinnaker/orca/front50/tasks/StartPipelineTask.groovy @@ -50,7 +50,7 @@ class StartPipelineTask implements Task { Map pipelineConfig = pipelines.find { it.id == pipelineId } if (!pipelineConfig) { - throw new IllegalArgumentException("Unable to locate referenced pipeline $pipelineId.") + throw new IllegalArgumentException("The referenced ${isStrategy ? 'custom strategy' : 'pipeline'} cannot be located (${pipelineId}") } def parameters = stage.context.pipelineParameters ?: [:]