From 23553226b846e71524ddadcb63963c815ae52fea Mon Sep 17 00:00:00 2001 From: James White Date: Sun, 6 Aug 2023 14:45:58 -0700 Subject: [PATCH] Fixed usage of WorkflowStep.Name when it could be null in WorkflowActivity. --- src/Directory.Build.props | 8 ++++---- src/WorkflowCore/Services/WorkflowActivity.cs | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Directory.Build.props b/src/Directory.Build.props index 5d86bd3a5..b86b7e833 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -4,10 +4,10 @@ https://github.com/danielgerlag/workflow-core/blob/master/LICENSE.md git https://github.com/danielgerlag/workflow-core.git - 3.9.0 - 3.9.0.0 - 3.9.0.0 + 3.9.1 + 3.9.1.0 + 3.9.1.0 https://github.com/danielgerlag/workflow-core/raw/master/src/logo.png - 3.9.0 + 3.9.1 diff --git a/src/WorkflowCore/Services/WorkflowActivity.cs b/src/WorkflowCore/Services/WorkflowActivity.cs index b580f98b6..b4599d367 100644 --- a/src/WorkflowCore/Services/WorkflowActivity.cs +++ b/src/WorkflowCore/Services/WorkflowActivity.cs @@ -59,7 +59,7 @@ internal static void Enrich(WorkflowStep workflowStep) activity.DisplayName += $" step {stepName}"; activity.SetTag("workflow.step.id", workflowStep.Id); - activity.SetTag("workflow.step.name", workflowStep.Name); + activity.SetTag("workflow.step.name", stepName); activity.SetTag("workflow.step.type", workflowStep.BodyType.Name); } }