Skip to content

Commit

Permalink
bunyan: Add workaround for TritonDataCenter/node-bunyan-syslog#60
Browse files Browse the repository at this point in the history
  • Loading branch information
bmaupin committed Sep 29, 2021
1 parent dc232f6 commit 3a7bbe5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions bunyan/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ const testLoggingWithStackTraces = () => {

const main = () => {
testLoggingWithStackTraces();

// Hack to work around https://github.com/joyent/node-bunyan-syslog/issues/60
setTimeout(() => {
process.exit();
}, 500);
};

main();

0 comments on commit 3a7bbe5

Please sign in to comment.