Skip to content

Commit

Permalink
Reverted TaskOrchestrationContext HandleTaskFailedEvent Serializer (#378
Browse files Browse the repository at this point in the history
)
  • Loading branch information
amdeel authored Mar 18, 2020
1 parent ab0d7a0 commit bbbac72
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<PropertyGroup>
<TargetFrameworks>netstandard2.0;net451</TargetFrameworks>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<FileVersion>1.7.3</FileVersion>
<FileVersion>1.7.4</FileVersion>
<AssemblyVersion>$(FileVersion)</AssemblyVersion>
<Version>$(FileVersion)</Version>
<IncludeSymbols>true</IncludeSymbols>
Expand Down
4 changes: 2 additions & 2 deletions src/DurableTask.Core/TaskOrchestrationContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ public void HandleTaskFailedEvent(TaskFailedEvent failedEvent)
if (this.openTasks.ContainsKey(taskId))
{
OpenTaskInfo info = this.openTasks[taskId];
Exception cause = Utils.RetrieveCause(failedEvent.Details, this.DataConverter);
Exception cause = Utils.RetrieveCause(failedEvent.Details, new JsonDataConverter());

var taskFailedException = new TaskFailedException(failedEvent.EventId, taskId, info.Name, info.Version,
failedEvent.Reason, cause);
Expand Down Expand Up @@ -381,7 +381,7 @@ public void HandleSubOrchestrationInstanceFailedEvent(SubOrchestrationInstanceFa
if (this.openTasks.ContainsKey(taskId))
{
OpenTaskInfo info = this.openTasks[taskId];
Exception cause = Utils.RetrieveCause(failedEvent.Details, this.DataConverter);
Exception cause = Utils.RetrieveCause(failedEvent.Details, new JsonDataConverter());
var failedException = new SubOrchestrationFailedException(failedEvent.EventId, taskId, info.Name,
info.Version,
failedEvent.Reason, cause);
Expand Down
2 changes: 1 addition & 1 deletion src/DurableTask.Redis/DurableTask.Redis.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<TargetFramework>netstandard2.0</TargetFramework>
<RunCodeAnalysis>false</RunCodeAnalysis>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<FileVersion>0.1.2</FileVersion>
<FileVersion>0.1.3</FileVersion>
<AssemblyVersion>$(FileVersion)</AssemblyVersion>
<Version>$(FileVersion)-alpha</Version>
<IncludeSymbols>true</IncludeSymbols>
Expand Down
6 changes: 3 additions & 3 deletions tools/DurableTask.props
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@
<!-- Nuget Package Settings -->
<PropertyGroup>
<PackageOutputPath>..\..\build_output\packages</PackageOutputPath>
<AssemblyVersion>2.2.2</AssemblyVersion>
<FileVersion>2.2.2</FileVersion>
<Version>2.2.2</Version>
<AssemblyVersion>2.2.3</AssemblyVersion>
<FileVersion>2.2.3</FileVersion>
<Version>2.2.3</Version>
<Company>Microsoft</Company>
<Authors>Microsoft</Authors>
<Product>Durable Task Framework</Product>
Expand Down

0 comments on commit bbbac72

Please sign in to comment.