mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Include stack for uncaught exceptions
This commit is contained in:
@@ -28,7 +28,8 @@ setupGlobals = ->
|
||||
global.window = global
|
||||
|
||||
handleEvents = ->
|
||||
process.on 'uncaughtException', (error) -> console.error(error.message)
|
||||
process.on 'uncaughtException', (error) ->
|
||||
console.error(error.message, error.stack)
|
||||
process.on 'message', ({args}) ->
|
||||
isAsync = false
|
||||
async = ->
|
||||
|
||||
Reference in New Issue
Block a user