minor fixes & stacktrace folding in terminal
This commit is contained in:
parent
f58db44858
commit
c4559315f7
11 changed files with 56 additions and 17 deletions
|
|
@ -17,11 +17,11 @@ window.onerror = function(msg,url,row,col, error) {
|
|||
|
||||
}).join('\n')
|
||||
|
||||
ipc.send('errorLog', `[Renderer process error]\n${msg}\n${stringifiedStack}`)
|
||||
ipc.send('errorLog', `(ERROR, CLIENT) ${msg}\n${stringifiedStack}`)
|
||||
|
||||
}).catch(()=>{
|
||||
|
||||
ipc.send('errorLog', `[Renderer process error]\n${msg}\n at ${url}:${row}:${col}\n (no stacktrace available)`)
|
||||
ipc.send('errorLog', `(ERROR, CLIENT) ${msg}\n at ${url}:${row}:${col}\n (no stacktrace available)`)
|
||||
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue