Skip to content

Commit

Permalink
Update tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Rabbi…
Browse files Browse the repository at this point in the history
…tMQ/BasicPublishAsyncCachedStringsIntegration.cs
  • Loading branch information
andrewlock authored Jan 15, 2025
1 parent aa31708 commit 127cf20
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ internal static CallTargetState OnMethodBegin<TTarget, TExchange, TRoutingKey, T
return BasicPublishAsyncIntegration.OnMethodBegin(instance, exchangeString, routingKeyString, mandatory, basicProperties, body, default);
}

// We don't support ValueTask in < .NET Core 3.1, which means this doesn't work and is never called
internal static TReturn? OnAsyncMethodEnd<TTarget, TReturn>(TTarget instance, TReturn? returnValue, Exception? exception, in CallTargetState state)
{
state.Scope.DisposeWithException(exception);
Expand Down

0 comments on commit 127cf20

Please sign in to comment.