Do not log node errors if handled by a Catch node

This commit is contained in:
Nick O'Leary
2017-05-03 13:42:38 +01:00
parent ed1a55d9cd
commit 8f92a3e875
3 changed files with 16 additions and 9 deletions

View File

@@ -221,7 +221,7 @@ function Flow(global,flow) {
count = msg.error.source.count+1;
if (count === 10) {
node.warn(Log._("nodes.flow.error-loop"));
return;
return false;
}
}
}
@@ -265,6 +265,7 @@ function Flow(global,flow) {
throwingNode = activeNodes[throwingNode.z];
}
}
return handled;
}
}