node: better error stack handling
This commit is contained in:
parent
5bcadb4f51
commit
1c4b136d67
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ function nodeMode() {
|
|||
|
||||
process.on('uncaughtException', (err)=>{
|
||||
console.error('A JavaScript error occurred in the main process:')
|
||||
console.trace(err)
|
||||
console.error(err.stack)
|
||||
})
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue