Skip to content

Commit 57d46e7

Browse files
authored
[FABCN-435] OOM on Large Arg Size (#208)
Incorrect trace point logging entire binary message Signed-off-by: Matthew B White <whitemat@uk.ibm.com>
1 parent 58b997c commit 57d46e7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

libraries/fabric-shim/lib/handler.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ class ChaincodeMessageHandler {
310310
let state = 'created';
311311

312312
stream.on('data', function (msg) {
313-
logger.debug('Received chat message from peer: %j, state: %s', msg, state);
313+
logger.debug('Received chat message from peer: %s, state: %s', msg.txid, state);
314314

315315
if (state === STATES.Ready) {
316316
const type = msg.type;

0 commit comments

Comments
 (0)