mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Catch error loop detection nls
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user