Include PID in exception logs
This commit is contained in:
1 parent
73295729c8
commit
3fc13317a2
2 files changed
+4
-2
No files matched your search
+2
-1
@@ -66,7 +66,8 @@ exit = () ->
|
||||
process.on('uncaughtException', (err) ->
|
||||
logger.error({
|
||||
message: 'Uncaught exception'
|
||||
exception: err
|
||||
exception: err,
|
||||
pid: process.pid
|
||||
})
|
||||
exit()
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user