Unverified Commit c1188f54 authored by Ppchelko's avatar Ppchelko Committed by GitHub
Browse files

Merge pull request #209 from d00rman/unhandled-error/strack-trace

Ensure unhandled errors contain the stack trace; rel v2.6.18
parents 07d279bc 586a0053
......@@ -206,6 +206,7 @@ class Logger {
const logUnhandledException = (err) => {
if (!inLogger) {
inLogger = true;
Error.captureStackTrace(err);
this.log('fatal/service-runner/unhandled', err);
inLogger = false;
}
......
{
"name": "service-runner",
"version": "2.6.17",
"version": "2.6.18",
"description": "Generic nodejs service supervisor / cluster runner",
"main": "service-runner.js",
"bin": {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment