Updates to encode/decode message when passed over debug comms link

This commit is contained in:
Nick O'Leary
2021-05-13 13:38:34 +01:00
parent 001f066769
commit 4ff991764e
2 changed files with 15 additions and 8 deletions

View File

@@ -872,7 +872,7 @@ function encodeObject(msg,opts) {
}
}
return value;
}," ");
});
} else {
try { msg.msg = msg.msg.toString(); }
catch(e) { msg.msg = "[Type not printable]" + util.inspect(msg.msg); }