Skip to content

Commit

Permalink
fix(log): clarify missing custom strategy error (spinnaker#1780)
Browse files Browse the repository at this point in the history
  • Loading branch information
asher authored Nov 7, 2017
1 parent 9e0d5b4 commit 15ab8b9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class StartPipelineTask implements Task {
Map<String, Object> 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 ?: [:]
Expand Down

0 comments on commit 15ab8b9

Please sign in to comment.