Fix uncaught exception on deploy whilst node sending messages

This commit is contained in:
Nick O'Leary 2016-03-16 15:37:44 +00:00
parent b9f03e7d80
commit 428fbb8622
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ function setConfig(_config,type,muteLog) {
function getNode(id) { function getNode(id) {
var node; var node;
if (activeNodesToFlow[id]) { if (activeNodesToFlow[id] && activeFlows[activeNodesToFlow[id]]) {
return activeFlows[activeNodesToFlow[id]].getNode(id); return activeFlows[activeNodesToFlow[id]].getNode(id);
} }
for (var flowId in activeFlows) { for (var flowId in activeFlows) {