Title: [BUG] Errors in Job callbacks are not passed to error handler · Issue #2004 · python-telegram-bot/python-telegram-bot · GitHub
Open Graph Title: [BUG] Errors in Job callbacks are not passed to error handler · Issue #2004 · python-telegram-bot/python-telegram-bot
X Title: [BUG] Errors in Job callbacks are not passed to error handler · Issue #2004 · python-telegram-bot/python-telegram-bot
Description: Steps to reproduce Register an errory_handler Set up a job Make that job fail on execution Expected behaviour Error should be handled by the error handler Actual behaviour It's not, as the JobQueue doesn't handle that correctly (see here...
Open Graph Description: Steps to reproduce Register an errory_handler Set up a job Make that job fail on execution Expected behaviour Error should be handled by the error handler Actual behaviour It's not, as the JobQueue...
X Description: Steps to reproduce Register an errory_handler Set up a job Make that job fail on execution Expected behaviour Error should be handled by the error handler Actual behaviour It's not, as the JobQ...
Opengraph URL: https://github.com/python-telegram-bot/python-telegram-bot/issues/2004
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[BUG] Errors in Job callbacks are not passed to error handler","articleBody":"\u003c!--\r\nThanks for reporting issues of python-telegram-bot!\r\n\r\nUse this template to notify us if you found a bug.\r\n\r\nTo make it easier for us to help you please enter detailed information below.\r\n\r\nPlease note, we only support the latest version of python-telegram-bot and\r\nmaster branch. Please make sure to upgrade & recreate the issue on the latest\r\nversion prior to opening an issue.\r\n-->\r\n### Steps to reproduce\r\n1. Register an errory_handler\r\n2. Set up a job\r\n\r\n3. Make that job fail on execution\r\n\r\n\r\n### Expected behaviour\r\nError should be handled by the error handler\r\n\r\n### Actual behaviour\r\nIt's not, as the JobQueue doesn't handle that correctly (see [here](https://github.com/python-telegram-bot/python-telegram-bot/blob/15268acb2729411ab8a64ef6127933b1d100c27d/telegram/ext/jobqueue.py#L571), this should call `dispatcher.dispatch_error`)\r\n\r\n### Logs\r\nhttps://pastebin.com/LhFTBb6S\r\n","author":{"url":"https://github.com/Bibo-Joshi","@type":"Person","name":"Bibo-Joshi"},"datePublished":"2020-06-23T08:51:49Z","url":"https://github.com/python-telegram-bot/python-telegram-bot/issues/2004"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d4eb3a62-6a74-b947-dd9f-e9bd778e2ddc |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B4E0:3DD488:4962B25:5D0E802:6B0253E3 |
| html-safe-nonce | a93fb61ac37d3617ab77d2e24fc76c06a445c2f7ee610d89be9dbff160a56559 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNEUwOjNERDQ4ODo0OTYyQjI1OjVEMEU4MDI6NkIwMjUzRTMiLCJ2aXNpdG9yX2lkIjoiNTI4Nzg0NjQwMjQxODk1NTIzNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3cd780378867b3058c2015ca5b4a64e02c18d6adc8b0132e4413aa25355a1e5d |
| hovercard-subject-tag | issue:643654228 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-telegram-bot/python-telegram-bot/2004/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7ed30390e88138f93d3b10b99ed6cf79639d8aa12c3f6f5145b388df0ffb75df/python-telegram-bot/python-telegram-bot/issues/2004 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7ed30390e88138f93d3b10b99ed6cf79639d8aa12c3f6f5145b388df0ffb75df/python-telegram-bot/python-telegram-bot/issues/2004 |
| og:image:alt | Steps to reproduce Register an errory_handler Set up a job Make that job fail on execution Expected behaviour Error should be handled by the error handler Actual behaviour It's not, as the JobQueue... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Bibo-Joshi |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/python-telegram-bot/python-telegram-bot git https://github.com/python-telegram-bot/python-telegram-bot.git |
| octolytics-dimension-user_id | 16178365 |
| octolytics-dimension-user_login | python-telegram-bot |
| octolytics-dimension-repository_id | 38696925 |
| octolytics-dimension-repository_nwo | python-telegram-bot/python-telegram-bot |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 38696925 |
| octolytics-dimension-repository_network_root_nwo | python-telegram-bot/python-telegram-bot |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width