mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Merge branch 'master' into dev
This commit is contained in:
@@ -470,8 +470,8 @@ class Flow {
|
||||
}
|
||||
// console.log("HE",logMessage);
|
||||
var count = 1;
|
||||
if (msg && msg.hasOwnProperty("error") && msg.error !== null) {
|
||||
if (msg.error.hasOwnProperty("source") && msg.error.source !== null) {
|
||||
if (msg && msg.hasOwnProperty("error") && msg.error) {
|
||||
if (msg.error.hasOwnProperty("source") && msg.error.source) {
|
||||
if (msg.error.source.id === node.id) {
|
||||
count = msg.error.source.count+1;
|
||||
if (count === 10) {
|
||||
|
@@ -112,8 +112,8 @@ class Subflow extends Flow {
|
||||
this.node_map = node_map;
|
||||
this.path = parent.path+"/"+(subflowInstance._alias||subflowInstance.id);
|
||||
|
||||
this.templateCredentials = credentials.get(subflowDef.id);
|
||||
this.instanceCredentials = credentials.get(this.id);
|
||||
this.templateCredentials = credentials.get(subflowDef.id) || {};
|
||||
this.instanceCredentials = credentials.get(this.id) || {};
|
||||
|
||||
var env = [];
|
||||
if (this.subflowDef.env) {
|
||||
|
Reference in New Issue
Block a user