이에 위 코드를 통해 클라이언트가 발생하면 재로그인하게 하려 했으나, 이마저도 재로그인 과정에서 오류가 발생합니다.
To Reproduce
Steps to reproduce the behavior.
봇을 구동 후 CLIENT.on('error', (err) => { console.log(`Client error!! ${err}`); }) 로 오류 캐치
Expected behavior
Clinet 에러가 발생하지 말아야 합니다.
Screenshots
If applicable, add screenshots to help explain your problem.
에러로그:
(재로그인전)
Client error!! Error: read ECONNABORTED
(node:23274) UnhandledPromiseRejectionWarning: Error: read ECONNABORTED at TCP.onStreamRead (internal/stream_base_commons.js:209:20)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:23274) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
(node:23274) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Describe the bug A clear and concise description of what the bug is. Ex) 휴대폰 Termux에서 봇 구동중입니다. 봇 구동 후 몇 시간 후에 클라이어트 에러가 발생합니다.
이에 위 코드를 통해 클라이언트가 발생하면 재로그인하게 하려 했으나, 이마저도 재로그인 과정에서 오류가 발생합니다.
To Reproduce Steps to reproduce the behavior. 봇을 구동 후
CLIENT.on('error', (err) => { console.log(`Client error!! ${err}`); })
로 오류 캐치Expected behavior Clinet 에러가 발생하지 말아야 합니다.
Screenshots If applicable, add screenshots to help explain your problem. 에러로그: (재로그인전)
(재로그인후)