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

HandleFailure - TaskFailureDetails ErrorType returns (unknown) #357

Open
epDugas opened this issue Dec 15, 2024 · 0 comments
Open

HandleFailure - TaskFailureDetails ErrorType returns (unknown) #357

epDugas opened this issue Dec 15, 2024 · 0 comments
Labels

Comments

@epDugas
Copy link

epDugas commented Dec 15, 2024

When the delegate that is assigned to RetryPolicy.HandleException executes, the TaskFailureDetails property: ErrorType is (unknown).
Because of this, IsCausedBy cannot resolve the Exception Type that caused the failure.
This only happens with Activity Functions. It does not happen with Sub-Orchestration Functions.

<PackageReference Include="Microsoft.Azure.Functions.Worker" Version="2.0.0" />
<PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.DurableTask" Version="1.2.2" />
<PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.Http" Version="3.2.0" />
<PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.Http.AspNetCore" Version="2.0.0" />
<PackageReference Include="Microsoft.Azure.Functions.Worker.Sdk" Version="2.0.0" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants