Skip to content

Commit

Permalink
Note the duplicate step type in the message about ... duplicate step …
Browse files Browse the repository at this point in the history
…types
  • Loading branch information
ndw committed Mar 20, 2013
1 parent 81b37fc commit 0c36cad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/com/xmlcalabash/model/DeclareStep.java
Expand Up @@ -125,7 +125,7 @@ public Pipeline getPipeline() {

public void declareStep(QName type, DeclareStep step) {
if (declaredSteps.containsKey(type)) {
throw new XProcException(step, "Duplicate step type");
throw new XProcException(step, "Duplicate step type: " + type);
} else {
declaredSteps.put(type, step);
}
Expand Down

0 comments on commit 0c36cad

Please sign in to comment.