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

Update error message when session is unavailable #109

Open
Loskir opened this issue Jun 10, 2024 · 0 comments
Open

Update error message when session is unavailable #109

Loskir opened this issue Jun 10, 2024 · 0 comments

Comments

@Loskir
Copy link

Loskir commented Jun 10, 2024

As discussed in https://t.me/grammyjs/244616

at least we can update conversations so that the error text is more clear, like

Conversations encountered an update without a session: ${ctx.updateType}. In order to handle this type of update inside of conversation, update your getSessionKey function. Or you can skip this update for conversations, like this: bot.filter((ctx) => !ctx.has(...)).use(conversations())

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

No branches or pull requests

1 participant