Title: Sentry doesn't capture billiard.exceptions.TimeLimitExceeded from Celery · Issue #613 · getsentry/sentry-python · GitHub
Open Graph Title: Sentry doesn't capture billiard.exceptions.TimeLimitExceeded from Celery · Issue #613 · getsentry/sentry-python
X Title: Sentry doesn't capture billiard.exceptions.TimeLimitExceeded from Celery · Issue #613 · getsentry/sentry-python
Description: Hi, I've noticed that sentry-sdk doesn't capture billiard.exceptions.TimeLimitExceeded when a task fails. I've tried Celery 3.1.26 and 4.4. Sentry-sdk is 0.14.1. Example: # tasks.py from time import sleep from celery import shared_task @...
Open Graph Description: Hi, I've noticed that sentry-sdk doesn't capture billiard.exceptions.TimeLimitExceeded when a task fails. I've tried Celery 3.1.26 and 4.4. Sentry-sdk is 0.14.1. Example: # tasks.py from time impor...
X Description: Hi, I've noticed that sentry-sdk doesn't capture billiard.exceptions.TimeLimitExceeded when a task fails. I've tried Celery 3.1.26 and 4.4. Sentry-sdk is 0.14.1. Example: # tasks.py fro...
Opengraph URL: https://github.com/getsentry/sentry-python/issues/613
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Sentry doesn't capture billiard.exceptions.TimeLimitExceeded from Celery","articleBody":"Hi,\r\n\r\nI've noticed that sentry-sdk doesn't capture `billiard.exceptions.TimeLimitExceeded` when a task fails. \r\n\r\nI've tried Celery 3.1.26 and 4.4. Sentry-sdk is 0.14.1.\r\n\r\nExample:\r\n```\r\n# tasks.py\r\nfrom time import sleep\r\nfrom celery import shared_task\r\n\r\n@shared_task(time_limit=2)\r\ndef test_time_limit():\r\n sleep(5)\r\n```\r\nLogs:\r\n```\r\n[2020-01-30 15:07:59,614: ERROR/MainProcess] Task handler raised error: TimeLimitExceeded(2,)\r\nTraceback (most recent call last):\r\n File \"/Users/mmalysh/Development/my-website/venv/lib/python3.6/site-packages/billiard/pool.py\", line 684, in on_hard_timeout\r\n raise TimeLimitExceeded(job._timeout)\r\nbilliard.exceptions.TimeLimitExceeded: TimeLimitExceeded(2,)\r\n[2020-01-30 15:07:59,627: ERROR/MainProcess] Hard time limit (2s) exceeded for api.tasks.test_foobar[e4f46f20-2311-4417-9ade-53e735430c65]\r\n```\r\n\r\nWe didn't have this problem with `raven`. All other exceptions are reported properly. For example, this exception is reported as expected:\r\n```\r\n@shared_task\r\ndef test_bazqux():\r\n raise Exception('BUY BITCOIN!')\r\n```","author":{"url":"https://github.com/maxmalysh","@type":"Person","name":"maxmalysh"},"datePublished":"2020-01-30T15:18:28Z","url":"https://github.com/getsentry/sentry-python/issues/613"}
| 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:04322af2-c87c-eecc-ed39-33f358219102 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C43A:13A804:74A14F:A3A64E:6B04216A |
| html-safe-nonce | d4005c1337fd8fb145d5e22394c99c55a5044518f880c5b238371b30d8637947 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNDNBOjEzQTgwNDo3NEExNEY6QTNBNjRFOjZCMDQyMTZBIiwidmlzaXRvcl9pZCI6IjIwNzk4NzQ2MTEwODQwMDk4MzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 439062782f711e17cf6c8d04fc56f3d7db173f6d88ed1bc23236572a2d0fd500 |
| hovercard-subject-tag | issue:557563134 |
| 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/getsentry/sentry-python/613/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8de195a9d445c7680a4a2e90aba5f7190f07e18fd2eb940c81723ef8d1d5d13d/getsentry/sentry-python/issues/613 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8de195a9d445c7680a4a2e90aba5f7190f07e18fd2eb940c81723ef8d1d5d13d/getsentry/sentry-python/issues/613 |
| og:image:alt | Hi, I've noticed that sentry-sdk doesn't capture billiard.exceptions.TimeLimitExceeded when a task fails. I've tried Celery 3.1.26 and 4.4. Sentry-sdk is 0.14.1. Example: # tasks.py from time impor... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | maxmalysh |
| hostname | github.com |
| expected-hostname | github.com |
| None | f8d9f404447ab5df341c8a92cf5fc927730ad1321e64ac57656444d2438097f1 |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-python git https://github.com/getsentry/sentry-python.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 137814779 |
| octolytics-dimension-repository_nwo | getsentry/sentry-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 137814779 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-python |
| 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 | f7edccce04851591ee529948701779ce6819bc53 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width