From a8fcf0d7bb42fdf4c03f82cafe1f64efa96dc2fa Mon Sep 17 00:00:00 2001 From: pyoor Date: Thu, 15 Jun 2017 12:41:03 -0400 Subject: [PATCH] Modify logging.comment to dump, and remove comment from JSError --- lib/logging/console.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/logging/console.js b/lib/logging/console.js index af4b253..82390ba 100644 --- a/lib/logging/console.js +++ b/lib/logging/console.js @@ -57,11 +57,11 @@ var logger = (function () { // eslint-disable-line no-unused-vars } function JSError (msg) { - error(comment('ERROR: ' + msg)) + error('/* ERROR: ' + msg + ' */') } function comment (msg) { - return '/* ' + msg + ' */' + dump('/* ' + msg + ' */') } function separator () {