From c8eab0d88a92108e4eb8c8d8989de26c3dd40205 Mon Sep 17 00:00:00 2001 From: Richard Ramos Date: Mon, 11 Jun 2018 09:19:24 -0400 Subject: [PATCH] Displays json as a string in the console --- lib/modules/console_listener/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/modules/console_listener/index.js b/lib/modules/console_listener/index.js index 6b1aaf52..6d022fdf 100644 --- a/lib/modules/console_listener/index.js +++ b/lib/modules/console_listener/index.js @@ -69,7 +69,7 @@ class ConsoleListener { this.logger.debug(`${name}.${functionName}(${paramString}) : ${transactionHash} | gas:${gasUsed} | blk:${blockNumber} | status:${status}`); } else { - this.logger.debug(request); + this.logger.debug(JSON.stringify(request)); } }); }