Add error emitters to manually handle. ex: bot.on('error', function(err){}); Especially if fails to connect, throw a error on connection fail. Only log to app error logger is not flexible.
Add error emitters to manually handle.
ex: bot.on('error', function(err){});
Especially if fails to connect, throw a error on connection fail.
Only log to app error logger is not flexible.