Include stack for uncaught exceptions

This commit is contained in:
Kevin Sawicki
2013-09-18 12:20:13 -07:00
parent 05505a9871
commit f4d8c84a8e

View File

@@ -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 = ->