I'm a little confused on what exactly this means. There is an "explanation" on the github page for Winston, that says you can exit, or not exit. Does that mean that the Winston object dies or stays, or that the node.js process dies or stays? Or something else entirely? I can't find any decent explanations.
By default, node.js will terminate on uncaught errors. Winston can catch and log these errors.
If exitOnError is true (the default), Winston will subsequently end the node process, just like node's default behavior. If exitOnError is set to false, the error will be logged and the process will continue.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With