diff --git a/locales/en-US/runtime.json b/locales/en-US/runtime.json index 6d5483479..3825c4a0b 100644 --- a/locales/en-US/runtime.json +++ b/locales/en-US/runtime.json @@ -85,7 +85,8 @@ }, "flow": { "unknown-type": "Unknown type: __type__", - "missing-types": "missing types" + "missing-types": "missing types", + "error-loop": "Message exceeded maximum number of catches" }, "index": { "unrecognised-id": "Unrecognised id: __id__", diff --git a/red/nodes/Flow.js b/red/nodes/Flow.js index 1cc34c74b..7d9a82ef2 100644 --- a/red/nodes/Flow.js +++ b/red/nodes/Flow.js @@ -758,7 +758,7 @@ Flow.prototype.handleError = function(node,logMessage,msg) { if (msg.error.source.id === node.id) { count = msg.error.source.count+1; if (count === 10) { - node.warn("Message exceeded maximum number of catches"); + node.warn(Log._("nodes.flow.error-loop")); return; } }