Open knightcode opened 6 years ago
Same for us, does anyone have a solution for this? This causes an unhandled exception and crashes our app
I forked the repo and made changes to fix this and the other issue I posted here: https://github.com/Savorylabs/winston-syslog
The simple fix is only for those who can tolerate lack of feedback.
While this repo is dormant, you can add this to your package.json to get fetch it:
"winston-syslog": "https://github.com/Savorylabs/winston-syslog/archive/2.0.1.tar.gz",
I forked the repo and made changes to fix this and the other issue I posted here: https://github.com/Savorylabs/winston-syslog
The simple fix is only for those who can tolerate lack of feedback.
While this repo is dormant, you can add this to your package.json to get fetch it:
"winston-syslog": "https://github.com/Savorylabs/winston-syslog/archive/2.0.1.tar.gz",
Thank you. That's cool!
If the logger is written to before a TCP connection is established, the following code executes to properly queue the log message, but then it passes
err
to the log's callback, which produces the error below for me.Someone would know better than, but it seems like if you're queuing the message, it's mildly acceptable to pass a success condition to
callback
.winston-syslog.js, line 129