Skip to content

Commit 8dbca2c

Browse files
authored
Fix return statement in X509ResourceClient instrumentation (dotnet#122226)
The AssetDownloadStop event did not contain the downloaded payload size
1 parent b6f0683 commit 8dbca2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libraries/Common/src/System/Net/Http/X509ResourceClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ internal static partial class X509ResourceClient
6767
await ((Task)task).ConfigureAwait(ConfigureAwaitOptions.SuppressThrowing);
6868
if (task.IsCompletedSuccessfully)
6969
{
70-
return task.Result;
70+
return ret = task.Result;
7171
}
7272
}
7373
catch { }

0 commit comments

Comments
 (0)