Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/DurableTask.Core/TaskOrchestrationContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -709,6 +709,15 @@ public void CompleteOrchestration(string result, string details, OrchestrationSt
}
else
{
if (this.continueAsNew != null && orchestrationStatus == OrchestrationStatus.Failed)
{
TraceHelper.TraceSession(
TraceEventType.Warning,
"TaskOrchestrationContext-ContinueAsNewForFailedOrchestration",
OrchestrationInstance.InstanceId,
"Continue as new called for a failed orchestration, orchestration will complete");
}

if (this.executionCompletedOrTerminated)
{
return;
Expand Down
Loading