Skip to content

Commit 2c4ef5b

Browse files
committed
exit on detector not found
1 parent f872a48 commit 2c4ef5b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

OpenFlowNodeRED/src/nodered/nodes/rpa_nodes.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ export class rpa_detector_node {
5252

5353
if (result.length == 0) {
5454
this.node.status({ fill: "red", shape: "dot", text: "Failed locating detector" });
55+
return;
5556
}
5657
this.detector = result[0];
5758

0 commit comments

Comments
 (0)