remit-bunyan
Advanced tools
Comparing version 1.0.2 to 1.0.3
17
index.js
@@ -11,2 +11,8 @@ 'use strict' | ||
function endit (err) { | ||
logger.fatal(err) | ||
setTimeout(process.exit.bind(process, 1), 1000) | ||
} | ||
process.on('uncaughtException', endit) | ||
@@ -16,13 +22,2 @@ remit.on_error = endit | ||
return logger | ||
} | ||
function endit (err) { | ||
logger.fatal(err) | ||
setTimeout(process.exit.bind(process, 1), 1000) | ||
} |
{ | ||
"name": "remit-bunyan", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "", | ||
"main": "index.js", | ||
"dependencies": { | ||
"bunyan": "^1.5.1", | ||
"bunyan-remit-stream": "^1.0.0" | ||
}, | ||
"devDependencies": {}, | ||
"scripts": { | ||
@@ -15,3 +10,7 @@ "test": "echo \"Error: no test specified\" && exit 1" | ||
"author": "", | ||
"license": "ISC" | ||
"license": "ISC", | ||
"dependencies": { | ||
"bunyan": "^1.5.1", | ||
"bunyan-remit-stream": "^1.0.0" | ||
} | ||
} |
1372