Skip to content

Commit 2355322

Browse files
committed
Fixed usage of WorkflowStep.Name when it could be null in WorkflowActivity.
1 parent ab97ce9 commit 2355322

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/Directory.Build.props

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
<PackageLicenseUrl>https://github.com/danielgerlag/workflow-core/blob/master/LICENSE.md</PackageLicenseUrl>
55
<RepositoryType>git</RepositoryType>
66
<RepositoryUrl>https://github.com/danielgerlag/workflow-core.git</RepositoryUrl>
7-
<Version>3.9.0</Version>
8-
<AssemblyVersion>3.9.0.0</AssemblyVersion>
9-
<FileVersion>3.9.0.0</FileVersion>
7+
<Version>3.9.1</Version>
8+
<AssemblyVersion>3.9.1.0</AssemblyVersion>
9+
<FileVersion>3.9.1.0</FileVersion>
1010
<PackageIconUrl>https://github.com/danielgerlag/workflow-core/raw/master/src/logo.png</PackageIconUrl>
11-
<PackageVersion>3.9.0</PackageVersion>
11+
<PackageVersion>3.9.1</PackageVersion>
1212
</PropertyGroup>
1313
</Project>

src/WorkflowCore/Services/WorkflowActivity.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ internal static void Enrich(WorkflowStep workflowStep)
5959

6060
activity.DisplayName += $" step {stepName}";
6161
activity.SetTag("workflow.step.id", workflowStep.Id);
62-
activity.SetTag("workflow.step.name", workflowStep.Name);
62+
activity.SetTag("workflow.step.name", stepName);
6363
activity.SetTag("workflow.step.type", workflowStep.BodyType.Name);
6464
}
6565
}

0 commit comments

Comments
 (0)