We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbc9193 commit 3560027Copy full SHA for 3560027
src/Microsoft.Data.SqlClient/src/Microsoft/Data/SqlClient/Utilities/AsyncHelper.cs
@@ -766,7 +766,7 @@ private static void ObserveContinuationException(Task continuationTask)
766
continuationTask.ContinueWith(
767
static task =>
768
{
769
- SqlClientEventSource.Log.TraceEvent($"Unobserved task exception: {task.Exception}");
+ SqlClientEventSource.Log.TryTraceEvent($"Unobserved task exception: {task.Exception}");
770
return _ = task.Exception;
771
},
772
TaskContinuationOptions.OnlyOnFaulted | TaskContinuationOptions.ExecuteSynchronously);
0 commit comments