How do I catch and handle this error myself? #1954
Answered
by
MKRhere
hashfi-motion
asked this question in
Q&A
-
How do I catch error Here are the error in more detail:
Note: I haven't tried to wrap my |
Beta Was this translation helpful? Give feedback.
Answered by
MKRhere
Feb 24, 2024
Replies: 1 comment 2 replies
-
You must await your API calls, for example |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
hashfi-motion
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You must await your API calls, for example
await ctx.answerCbQuery(...)
, otherwise Telegraf cannot handle errors.