Include PID in exception logs

This commit is contained in:
Zaid Abdulla committed 2017-09-16 22:36:42 -07:00
1 parent 73295729c8
commit 3fc13317a2
2 files changed
+4 -2

No files matched your search

+2 -1
View File
@@ -66,7 +66,8 @@ exit = () ->
process.on('uncaughtException', (err) ->
logger.error({
message: 'Uncaught exception'
exception: err
exception: err,
pid: process.pid
})
exit()
)