mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Handle null message in catch loop detection
This commit is contained in:
parent
c5fd3a5753
commit
21d0adbdae
@ -753,7 +753,7 @@ Flow.prototype.handleError = function(node,logMessage,msg) {
|
|||||||
|
|
||||||
if (targetCatchNode) {
|
if (targetCatchNode) {
|
||||||
var count = 1;
|
var count = 1;
|
||||||
if (msg.hasOwnProperty("error")) {
|
if (msg && msg.hasOwnProperty("error")) {
|
||||||
if (msg.error.hasOwnProperty("source")) {
|
if (msg.error.hasOwnProperty("source")) {
|
||||||
if (msg.error.source.id === node.id) {
|
if (msg.error.source.id === node.id) {
|
||||||
count = msg.error.source.count+1;
|
count = msg.error.source.count+1;
|
||||||
|
Loading…
Reference in New Issue
Block a user