Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop polling when getting Unauthorized/Not Found(token errors) #2367

Open
coder2020official opened this issue Aug 11, 2024 · 3 comments
Open

Comments

@coder2020official
Copy link
Collaborator

@Badiboy what do you think of stopping polling when a token no longer becomes valid?

@Badiboy
Copy link
Collaborator

Badiboy commented Aug 11, 2024

Unauthorised error may lead to stop polling, because there is no way to revive bot with the same token.

@coder2020official
Copy link
Collaborator Author

Wdym? Do U think it will be reasonable to implement it?
Rn it will re-try connecting infinitely

@All-The-Foxes
Copy link

I think it's a translation error and they're agreeing that it should lead to polling being stopped because you can't continue with the same token so there's no point in retrying.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants