MCPcopy Create free account
hub / github.com/eternnoir/pyTelegramBotAPI / _handle_exception

Method _handle_exception

telebot/__init__.py:1230–1235  ·  view source on GitHub ↗
(self, exception: Exception)

Source from the content-addressed store, hash-verified

1228 logger_level=logger_level, allowed_updates=allowed_updates)
1229
1230 def _handle_exception(self, exception: Exception) -> bool:
1231 if self.exception_handler is None:
1232 return False
1233
1234 handled = self.exception_handler.handle(exception)
1235 return handled
1236
1237 def __threaded_polling(self, non_stop = False, interval = 0, timeout = None, long_polling_timeout = None,
1238 logger_level=logging.ERROR, allowed_updates=None):

Callers 4

__threaded_pollingMethod · 0.95
_exec_taskMethod · 0.95

Calls 1

handleMethod · 0.45

Tested by

no test coverage detected