Avoid env var reference loops and support $parent. prefix

Fixes #2099
This commit is contained in:
Nick O'Leary
2019-03-20 13:37:33 +00:00
parent 962a29110c
commit ee6c6266cc
2 changed files with 44 additions and 10 deletions

View File

@@ -68,6 +68,20 @@ class Flow {
})
}
/**
* Log an error-level message from this flow
* @param {[type]} msg [description]
* @return {[type]} [description]
*/
error(msg) {
Log.log({
id: this.id||"global",
level: Log.ERROR,
type:this.TYPE,
msg:msg
})
}
/**
* Log a info-level message from this flow
* @param {[type]} msg [description]