1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Don't filter debug properties starting with _

Fixes #1117
This commit is contained in:
Nick O'Leary 2017-01-14 21:34:09 +00:00
parent a79e4d1bb3
commit 5349bf7628
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -118,9 +118,6 @@ module.exports = function(RED) {
}
if (isArray || (msg.format === "Object")) {
msg.msg = safeJSONStringify(msg.msg, function(key, value) {
if (key[0] === '_' && key !== "_msgid") {
return undefined;
}
if (key === '_req' || key === '_res') {
return "[internal]"
}