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

added posibility to handle exception on RequestTimeout #2024

Merged
merged 1 commit into from
Aug 19, 2023

Conversation

TheWCKD
Copy link
Contributor

@TheWCKD TheWCKD commented Jul 24, 2023

Description

I wanted to increment an error counter whenever the RequestTimeout occurs as an exception via the exception_handler class

Describe your tests

How did you test your change?

Tested on my own project in which I frequently use telebot

Python version: 3.11

OS: Linux Mint

Checklist:

  • I added/edited example on new feature/change (if exists)
  • My changes won't break backward compatibility
  • I made changes both for sync and async

@Badiboy
Copy link
Collaborator

Badiboy commented Jul 24, 2023

@coder2020official Moved from sync version.

@coder2020official
Copy link
Collaborator

Will get back soon

@coder2020official coder2020official merged commit 396d476 into eternnoir:master Aug 19, 2023
8 checks passed
@coder2020official
Copy link
Collaborator

Thanks

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

Successfully merging this pull request may close these issues.

3 participants