Skip to content

Commit 05df03f

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)