Skip to content

Commit

Permalink
[FABCN-435] OOM on Large Arg Size (#207)
Browse files Browse the repository at this point in the history
Incorrect trace point logging entire binary message

Signed-off-by: Matthew B White <whitemat@uk.ibm.com>
  • Loading branch information
mbwhite committed Sep 14, 2020
1 parent 58387e8 commit 05df03f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/fabric-shim/lib/handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ class ChaincodeMessageHandler {
let state = 'created';

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

if (state === STATES.Ready) {
const type = msg.type;
Expand Down

0 comments on commit 05df03f

Please sign in to comment.