UNPKG

spur-common

Version:

Common node library that is implemented through the use of spur-ioc and bluebird promises.

9 lines (6 loc) 191 B
module.exports = (nodeProcess, Logger)-> new class UncaughtHlander listen:()-> nodeProcess.on 'uncaughtException', (err)-> Logger.error(err) nodeProcess.exit(0)