| 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 | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:aa5d4982-2340-7234-13f4-abe25c6e3e7a |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C342:184DF1:285B48:36F94F:6AFE4EE2 |
| html-safe-nonce | 679e4f5747b156a736793234eeb685eb99681d353da20a223d7f82b91212b8b9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMzQyOjE4NERGMToyODVCNDg6MzZGOTRGOjZBRkU0RUUyIiwidmlzaXRvcl9pZCI6Ijk0NTEwMTE0NzE4ODY0NTYwMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 18f75d55c04aac8584f5fc151f3aaef593461a3a4075f24194ed561d32f9d0ec |
| hovercard-subject-tag | pull_request:3153833245 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/microsoft/durabletask-python/pull/99/files |
| twitter:image | https://avatars.githubusercontent.com/u/77818326?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/77818326?s=400&v=4 |
| og:image:alt | Also improves new_failure_details to allow capturing inner exceptions |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 894d3c8b932306ed8425e8dcbe0c1089667e487c5fe7b8a05d17e7b685207429 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/microsoft/durabletask-python git https://github.com/microsoft/durabletask-python.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 627664515 |
| octolytics-dimension-repository_nwo | microsoft/durabletask-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 627664515 |
| octolytics-dimension-repository_network_root_nwo | microsoft/durabletask-python |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 44570ad53e12be09be8000af683c29166c4007cb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/microsoft/durabletask-python/pull/99/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fdurabletask-python%2Fpull%2F99%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fdurabletask-python%2Fpull%2F99%2Ffiles |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=microsoft%2Fdurabletask-python |
| Reload | https://github.com/microsoft/durabletask-python/pull/99/files |
| Reload | https://github.com/microsoft/durabletask-python/pull/99/files |
| Reload | https://github.com/microsoft/durabletask-python/pull/99/files |
| microsoft | https://github.com/microsoft |
| durabletask-python | https://github.com/microsoft/durabletask-python |
| Code | https://github.com/microsoft/durabletask-python |
| Issues15 (15) | https://github.com/microsoft/durabletask-python/issues |
| Pull requests12 (12) | https://github.com/microsoft/durabletask-python/pulls |
| Actions | https://github.com/microsoft/durabletask-python/actions |
| Projects | https://github.com/microsoft/durabletask-python/projects |
| Security and quality | https://github.com/microsoft/durabletask-python/security |
| Insights | https://github.com/microsoft/durabletask-python/insights |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fmicrosoft%2Fdurabletask-python%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fmicrosoft%2Fdurabletask-python%2Fissues%2Fnew%2Fchoose |
| andystaples | https://github.com/andystaples |
| main | https://github.com/microsoft/durabletask-python/tree/main |
| andystaples/improve-task-failure-logic | https://github.com/microsoft/durabletask-python/tree/andystaples/improve-task-failure-logic |
|
Conversation
4
| https://github.com/microsoft/durabletask-python/pull/99 |
|
Commits
5
| https://github.com/microsoft/durabletask-python/pull/99/commits |
|
Checks
20
| https://github.com/microsoft/durabletask-python/pull/99/checks |
|
Files changed
| https://github.com/microsoft/durabletask-python/pull/99/files |
| Please reload this page | https://github.com/microsoft/durabletask-python/pull/99/files |
|
Allow TaskFailedError to be constructed from Exception
| https://github.com/microsoft/durabletask-python/pull/99/files#top |
|
Show all changes
5 commits
| https://github.com/microsoft/durabletask-python/pull/99/files |
|
e8c3c0f
Allow TaskFailedError to be constructed from Exception
andystaples Jan 7, 2026
| https://github.com/microsoft/durabletask-python/pull/99/commits/e8c3c0f597ca63a80aad739ca89a3121853dde0c |
|
d49b351
Propogate inner exceptions in FailureDetails
andystaples Jan 7, 2026
| https://github.com/microsoft/durabletask-python/pull/99/commits/d49b3513ffb6ca37d03844d4a94d3073f71515ae |
|
85f8c59
Allow passing exception to fail()
andystaples Jan 8, 2026
| https://github.com/microsoft/durabletask-python/pull/99/commits/85f8c596942312de307a05493bf03f27ef22e564 |
|
8334a74
Recursion prevention
andystaples Jan 8, 2026
| https://github.com/microsoft/durabletask-python/pull/99/commits/8334a74ab89e467094783dff7ce636598a260a86 |
|
6416824
Only log Exceptions, not BaseException
andystaples Jan 8, 2026
| https://github.com/microsoft/durabletask-python/pull/99/commits/6416824db09802404aeca6bd02012543ffaab33a |
|
Clear filters
| https://github.com/microsoft/durabletask-python/pull/99/files |
| Please reload this page | https://github.com/microsoft/durabletask-python/pull/99/files |
| Please reload this page | https://github.com/microsoft/durabletask-python/pull/99/files |
|
helpers.py
| https://github.com/microsoft/durabletask-python/pull/99/files#diff-961116059c737297cf33e1a3e3ced16a6be891ef386862ae3a45337a550b5f97 |
|
task.py
| https://github.com/microsoft/durabletask-python/pull/99/files#diff-36492640add0941ee3934088b514e433cd929fa6120e74f93e37e5484bfe7981 |
| durabletask/internal/helpers.py | https://github.com/microsoft/durabletask-python/pull/99/files#diff-961116059c737297cf33e1a3e3ced16a6be891ef386862ae3a45337a550b5f97 |
|
View file
| https://github.com/microsoft/durabletask-python/blob/6416824db09802404aeca6bd02012543ffaab33a/durabletask/internal/helpers.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/microsoft/durabletask-python/pull/99/{{ revealButtonHref }} |
|
| https://github.com/microsoft/durabletask-python/pull/99/files#diff-961116059c737297cf33e1a3e3ced16a6be891ef386862ae3a45337a550b5f97 |
|
| https://github.com/microsoft/durabletask-python/pull/99/files#diff-961116059c737297cf33e1a3e3ced16a6be891ef386862ae3a45337a550b5f97 |
| durabletask/task.py | https://github.com/microsoft/durabletask-python/pull/99/files#diff-36492640add0941ee3934088b514e433cd929fa6120e74f93e37e5484bfe7981 |
|
View file
| https://github.com/microsoft/durabletask-python/blob/6416824db09802404aeca6bd02012543ffaab33a/durabletask/task.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/microsoft/durabletask-python/pull/99/{{ revealButtonHref }} |
|
| https://github.com/microsoft/durabletask-python/pull/99/files#diff-36492640add0941ee3934088b514e433cd929fa6120e74f93e37e5484bfe7981 |
|
| https://github.com/microsoft/durabletask-python/pull/99/files#diff-36492640add0941ee3934088b514e433cd929fa6120e74f93e37e5484bfe7981 |
|
| https://github.com/microsoft/durabletask-python/pull/99/files#diff-36492640add0941ee3934088b514e433cd929fa6120e74f93e37e5484bfe7981 |
|
| https://github.com/microsoft/durabletask-python/pull/99/files#diff-36492640add0941ee3934088b514e433cd929fa6120e74f93e37e5484bfe7981 |
| Please reload this page | https://github.com/microsoft/durabletask-python/pull/99/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |