Skip to content

Commit

Permalink
fix: Work around winstonjs/winston-syslog#155
Browse files Browse the repository at this point in the history
  • Loading branch information
bmaupin committed Sep 27, 2021
1 parent 09f9d14 commit 2021861
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions winston/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ const logger = createLogger({

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

// Hack to work around https://github.com/winstonjs/winston-syslog/issues/155
setTimeout(() => {
process.exit();
}, 500);
};

const testLoggingWithStackTraces = () => {
Expand Down

0 comments on commit 2021861

Please sign in to comment.