We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, could you please release the current master version ?
Thanks!
The text was updated successfully, but these errors were encountered:
Hmm... seams that the error that i get is still in master.
System.InvalidOperationException: 'Trying to set an Activity that is not running'
In the Handle methods we always Stop the activity in the delegate from the WithReplacedActivityCurrent and this means that the finally from WithReplacedActivityCurrent will set to the Activity.Current a stopped activity and will throw because => https://github.com/dotnet/runtime/blob/041375910885f3a30ccf0bb8b751566dae7043f4/src/libraries/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/Activity.cs#L1378
Handle
Stop
WithReplacedActivityCurrent
finally
Activity.Current
If there is no reason to call Stop in the delegate we could put it after WithReplacedActivityCurrent.
Or if there is no reason to use WithReplacedActivityCurrent we could just remove it.
Sorry, something went wrong.
Fixed by #32
No branches or pull requests
Hi, could you please release the current master version ?
Thanks!
The text was updated successfully, but these errors were encountered: