Displays json as a string in the console

This commit is contained in:
Richard Ramos 2018-06-11 09:19:24 -04:00
parent 373a25e064
commit c8eab0d88a
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ class ConsoleListener {
this.logger.debug(`${name}.${functionName}(${paramString}) : ${transactionHash} | gas:${gasUsed} | blk:${blockNumber} | status:${status}`); this.logger.debug(`${name}.${functionName}(${paramString}) : ${transactionHash} | gas:${gasUsed} | blk:${blockNumber} | status:${status}`);
} else { } else {
this.logger.debug(request); this.logger.debug(JSON.stringify(request));
} }
}); });
} }