Skip to content

Commit 4e5ece4

Browse files
committed
Improve error message
Signed-off-by: Ben Sherman <bentshermann@gmail.com>
1 parent a5ea409 commit 4e5ece4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/compiler/src/main/java/script/parser/ScriptAstBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,7 @@ private Statement checkWorkflowPublisher(Statement stmt) {
602602
&& es.getExpression() instanceof BinaryExpression be
603603
&& be.getOperation().getType() == Types.RIGHT_SHIFT;
604604
if( !valid ) {
605-
collectSyntaxError(new SyntaxException("Invalid workflow publisher", stmt));
605+
collectSyntaxError(new SyntaxException("Invalid workflow publish statement", stmt));
606606
return null;
607607
}
608608
return stmt;

0 commit comments

Comments
 (0)