Merge 0.18.5

This commit is contained in:
Nick O'Leary
2018-05-10 21:45:25 +01:00
69 changed files with 2396 additions and 882 deletions

View File

@@ -237,8 +237,8 @@ function Flow(global,flow) {
this.handleError = function(node,logMessage,msg) {
var count = 1;
if (msg && msg.hasOwnProperty("error")) {
if (msg.error.hasOwnProperty("source")) {
if (msg && msg.hasOwnProperty("error") && msg.error !== null) {
if (msg.error.hasOwnProperty("source") && msg.error.source !== null) {
if (msg.error.source.id === node.id) {
count = msg.error.source.count+1;
if (count === 10) {