Use console.error instead of console.log.
This commit is contained in:
parent
2be289a0ef
commit
ad816c579b
@ -408,7 +408,7 @@ Settings =
|
||||
window.location.reload()
|
||||
catch err
|
||||
output.textContent = 'Import failed due to an error.'
|
||||
c.log err.stack
|
||||
c.error err.stack
|
||||
reader.readAsText file
|
||||
loadSettings: (data) ->
|
||||
version = data.version.split '.'
|
||||
|
||||
@ -554,7 +554,7 @@ Main =
|
||||
|
||||
parseError: (data) ->
|
||||
{message, error} = data
|
||||
c.log message, error.stack
|
||||
c.error message, error.stack
|
||||
message = $.el 'div',
|
||||
textContent: message
|
||||
error = $.el 'div',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user