stacktrace: missing indentation
This commit is contained in:
parent
c49a731134
commit
27d87f2238
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ window.onerror = function(msg,url,row,col, error) {
|
|||
|
||||
StackTrace.fromError(error).then((stackframes)=>{
|
||||
|
||||
var stringifiedStack = stackframes.join('\n')
|
||||
var stringifiedStack = ' ' + stackframes.join('\n ')
|
||||
|
||||
uiConsole.log('error', `${msg}\n${stringifiedStack}`)
|
||||
ipc.send('errorLog', `(ERROR, CLIENT) ${msg}\n${stringifiedStack}`)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue