Stopping a receiving messages when an error occurs
See original GitHub issueWhen an error occurs in HandleUpdateAsync
and HandleErrorAsync
methods, bot stop receiving messages.
Is that how it’s supposed to work?
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Fix problems sending, receiving or connecting to Messages
If you can't send or receive messages, or have trouble connecting to Messages on web, try the following suggestions below. Fix problems sending...
Read more >If you can't send or receive messages on your iPhone or iPad
If you're in a group message and stop receiving messages, check to see if you left the conversation. Open Messages and tap the...
Read more >Error occurs when you send or receive an email message ...
In Outlook, click the Send/Receive tab, and then click Work Offline. Note This stops Outlook from trying to send all email messages. Select...
Read more >Time sensitive message error - Apple Community
It seems like you are receiving Time Sensitive notifications. Check to see if you have it enabled in Settings > Focus and disable...
Read more >Messages Keeps Stopping on Android, How to Fix
Part 2. How to Fix "Unfortunately, Messages has stopped" Error on Android? · Head to Settings > Apps & notifications > Messages and...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
There is a way to automatically restart the bot after an exception? I also have the same problem, but I’m receiving exception because a user has blocked the bot. I don’t want to wrap each call to
sendMessageAsync
with a try-catch to avoid interruption, is there another way?i have this problem, my bot stop receiving messages for any problem and after restarting bot , it working fine again. how i can restart bot automatically when an error occur ?