Skip to content

Commit

Permalink
1.2.0.33
Browse files Browse the repository at this point in the history
  • Loading branch information
Yvees committed Mar 20, 2018
1 parent 3b65d9f commit 8bddcc7
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 11 deletions.
6 changes: 3 additions & 3 deletions src/Cocohub.Tracer.Fody/Cocohub.Tracer.Fody.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
<Authors>clawit</Authors>
<Copyright></Copyright>
<PackageTags>Tracer, ILWeaving, Fody, Cecil, AOP</PackageTags>
<AssemblyVersion>2.0.0.32</AssemblyVersion>
<FileVersion>1.0.0.32</FileVersion>
<Version>2.0.0.32</Version>
<AssemblyVersion>2.0.0.33</AssemblyVersion>
<FileVersion>1.0.0.33</FileVersion>
<Version>2.0.0.33</Version>
</PropertyGroup>

<ItemGroup>
Expand Down
6 changes: 3 additions & 3 deletions src/Cocohub.Tracer/Cocohub.Tracer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageTags>Tracer, ILWeaving, Fody, Cecil, AOP</PackageTags>
<PackageId>Cocohub.Tracer.Fody</PackageId>
<AssemblyVersion>2.0.0.32</AssemblyVersion>
<FileVersion>2.0.0.32</FileVersion>
<Version>2.0.0.32</Version>
<AssemblyVersion>2.0.0.33</AssemblyVersion>
<FileVersion>2.0.0.33</FileVersion>
<Version>2.0.0.33</Version>
<PackageLicenseUrl>http://www.opensource.org/licenses/mit-license.php</PackageLicenseUrl>
</PropertyGroup>

Expand Down
11 changes: 9 additions & 2 deletions src/Tracer.Cocohub/Context/TracerIndentity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,15 @@ public void Enter()

public void Leave()
{
_lastSpanId = _spanId;
_spanId = _spanId.Substring(0, _spanId.LastIndexOf("."));
try
{
_lastSpanId = _spanId;
_spanId = _spanId.Substring(0, _spanId.LastIndexOf("."));
}
catch(Exception ex)
{
Console.WriteLine("Unexpected exception:" + ex.Message);
}
}

public string EnterAsync()
Expand Down
6 changes: 3 additions & 3 deletions src/Tracer.Cocohub/Tracer.Cocohub.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
<AssemblyName>Tracer.Cocohub</AssemblyName>
<RootNamespace>Tracer.Cocohub</RootNamespace>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Version>1.2.0.32</Version>
<AssemblyVersion>1.2.0.32</AssemblyVersion>
<FileVersion>1.2.0.32</FileVersion>
<Version>1.2.0.33</Version>
<AssemblyVersion>1.2.0.33</AssemblyVersion>
<FileVersion>1.2.0.33</FileVersion>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 8bddcc7

Please sign in to comment.