Log the stack trace as well when catching an unhandled error.

This commit is contained in:
Pagan Gazzard 2015-10-13 13:17:14 -03:00 committed by Pablo Carranza Vélez
parent 4f431d36ed
commit 58cbb3808e

View File

@ -1,5 +1,5 @@
process.on 'uncaughtException', (e) ->
console.log('Got unhandled exception', e)
console.error('Got unhandled exception', e, e?.stack)
supervisor = require './supervisor-update'