mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
committed by
Nick O'Leary
parent
dba6ff1d51
commit
22772ca33e
@@ -138,7 +138,7 @@ module.exports = function(RED) {
|
||||
value = value.substring(0,debuglength)+"...";
|
||||
}
|
||||
} else if (value && value.constructor) {
|
||||
if (value.constructor.name === "Buffer") {
|
||||
if (value.type === "Buffer") {
|
||||
value.__encoded__ = true;
|
||||
value.length = value.data.length;
|
||||
if (value.length > debuglength) {
|
||||
|
Reference in New Issue
Block a user