Skip to content

Commit b22020c

Browse files
committed
throw error when adding two edges to object field (#66)
1 parent 74c2ac2 commit b22020c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/blocks/field.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ class Field extends ProcessSchema {
141141
else {
142142
var errorMsg = "Can't determine which object property this input should be assigned to. Please specify manually in Process Graph mode.";
143143
console.warn(errorMsg);
144-
this.block.blocks.showError(errorMsg);
144+
throw errorMsg;
145145
// ToDo: It is not quite clear what to do when multiple refs are available.
146146
}
147147
}

0 commit comments

Comments
 (0)