Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle connection error at start an application
This change will reconnect to fluentd, but following error occurs while reconnecting: > logger-node/node_modules/fluent-logger/node_modules/readable-stream/lib/_stream_writable.js:491 > cb(); > ^ > > TypeError: cb is not a function > at afterWrite (/logger-node/node_modules/fluent-logger/node_modules/readable-stream/lib/_stream_writable.js:491:3) > at onwrite (/logger-node/node_modules/fluent-logger/node_modules/readable-stream/lib/_stream_writable.js:483:7) > at WritableState.onwrite (/logger-node/node_modules/fluent-logger/node_modules/readable-stream/lib/_stream_writable.js:180:5) > at sender.emit (/logger-node/node_modules/fluent-logger/lib/winston.js:46:21) > at callbacks.forEach (/logger-node/node_modules/fluent-logger/lib/sender.js:431:23) > at Array.forEach (<anonymous>) > at _socket.write (/logger-node/node_modules/fluent-logger/lib/sender.js:430:19) > at afterWrite (_stream_writable.js:480:3) > at process._tickCallback (internal/process/next_tick.js:63:19) See also nodejs/node#23895 Signed-off-by: Kenji Okimoto <[email protected]>
- Loading branch information