Modify logging.comment to dump, and remove comment from JSError
This commit is contained in:
parent
6a65f5a4e6
commit
a8fcf0d7bb
1 changed files with 2 additions and 2 deletions
|
@ -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 () {
|
||||
|
|
Loading…
Reference in a new issue