Azure / Azure/durabletask

DurableTask.Sql - ErrorPropagationMode - UseFailureDetails not populating FailureDetails

Open
#807 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
C#
Stars
1.7k
Forks
335
Avg merge
2d 23h
Merged PRs (30d)
6

Description

Unclear if this is an issue with the SQL provider implementation or the core, but before starting the hub worker, I'm setting:

`_hubWorker.ErrorPropagationMode = ErrorPropagationMode.UseFailureDetails;`

However, across the entire chain of the orchestration execution every instance of `TaskFailedException` has `FailureDetails` set to null, and ultimately the `OrchestrationState` that comes back also has `FailureDetails` set to null.

I'm trying to preserve stack trace information rather than the serialised output just being the exception message.

At every point during the orchestration I can see the `OrchestrationContext` does have `ErrorPropagationMode` set to `UseFailureDetails` (in non-public members).

I'm using the following packages:

- Microsoft.DurableTask.SqlServer - 1.0.1
- Microsoft.Azure.DurableTask.Core 2.11.1 (dependency brought in via .SqlServer)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.