Skip to content

HandleFailure - TaskFailureDetails ErrorType returns (unknown) #357

@epDugas

Description

@epDugas

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" />

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions