Modify logging.comment to dump, and remove comment from JSError

This commit is contained in:
pyoor 2017-06-15 12:41:03 -04:00
parent 6a65f5a4e6
commit a8fcf0d7bb
1 changed files with 2 additions and 2 deletions

View File

@ -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 () {