Bot connect to Rocket.Chat but an error log about login token appears:
[connect] Connected
01:44:48 - error: Unhandled Rejection in Promise: { state: 'rejected',
reason: Error: No login token
at /home/arthur/Gsoc/work/test-bot/node_modules/asteroid/dist/asteroid.node.js:833:11
at _fulfilled (/home/arthur/Gsoc/work/test-bot/node_modules/q/q.js:854:54)
at self.promiseDispatch.done (/home/arthur/Gsoc/work/test-bot/node_modules/q/q.js:883:30)
at Promise.promise.promiseDispatch (/home/arthur/Gsoc/work/test-bot/node_modules/q/q.js:816:13)
at /home/arthur/Gsoc/work/test-bot/node_modules/q/q.js:570:49
at runSingle (/home/arthur/Gsoc/work/test-bot/node_modules/q/q.js:137:13)
at flush (/home/arthur/Gsoc/work/test-bot/node_modules/q/q.js:125:13)
at process._tickCallback (internal/process/next_tick.js:176:11) } Reason:
{ message: 'No login token',
stack: 'Error: No login token\n at /home/arthur/Gsoc/work/test-bot/node_modules/asteroid/dist/asteroid.node.js:833:11\n at _fulfilled (/home/arthur/Gsoc/work/test-bot/node_modules/q/q.js:854:54)\n at self.promiseDispatch.done (/home/arthur/Gsoc/work/test-bot/node_modules/q/q.js:883:30)\n at Promise.promise.promiseDispatch (/home/arthur/Gsoc/work/test-bot/node_modules/q/q.js:816:13)\n at /home/arthur/Gsoc/work/test-bot/node_modules/q/q.js:570:49\n at runSingle (/home/arthur/Gsoc/work/test-bot/node_modules/q/q.js:137:13)\n at flush (/home/arthur/Gsoc/work/test-bot/node_modules/q/q.js:125:13)\n at process._tickCallback (internal/process/next_tick.js:176:11)' }
01:44:48 - error: Error: No login token
at /home/arthur/Gsoc/work/test-bot/node_modules/asteroid/dist/asteroid.node.js:833:11
at _fulfilled (/home/arthur/Gsoc/work/test-bot/node_modules/q/q.js:854:54)
at self.promiseDispatch.done (/home/arthur/Gsoc/work/test-bot/node_modules/q/q.js:883:30)
at Promise.promise.promiseDispatch (/home/arthur/Gsoc/work/test-bot/node_modules/q/q.js:816:13)
at /home/arthur/Gsoc/work/test-bot/node_modules/q/q.js:570:49
at runSingle (/home/arthur/Gsoc/work/test-bot/node_modules/q/q.js:137:13)
at flush (/home/arthur/Gsoc/work/test-bot/node_modules/q/q.js:125:13)
at process._tickCallback (internal/process/next_tick.js:176:11)
Bot connect to Rocket.Chat but an error log about login token appears:
After that, the bot log in normally.