Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: dotnet/SqlClient
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 21e0c7e1936d72a22d1778378b44e2744c64610e
Choose a base ref
..
head repository: dotnet/SqlClient
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: ca7bedcf17737ac73f96a7e47c3997c57b234542
Choose a head ref
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/Microsoft.Data.SqlClient/netcore/src/Microsoft/Data/SqlClient/SNI/SNIStreams.cs
Original file line number Diff line number Diff line change
@@ -88,7 +88,7 @@ public override async Task<int> ReadAsync(byte[] buffer, int offset, int count,
}
catch (System.Exception e)
{
SqlClientEventSource.Log.TrySNITraceEvent(nameof(SNISslStream), EventType.ERR, "Internal Exception occurred while reading data: {0}", args0: e?.Message);
SqlClientEventSource.Log.TrySNITraceEvent(nameof(SNINetworkStream), EventType.ERR, "Internal Exception occurred while reading data: {0}", args0: e?.Message);
throw;
}
finally
@@ -107,7 +107,7 @@ public override async Task WriteAsync(byte[] buffer, int offset, int count, Canc
}
catch (System.Exception e)
{
SqlClientEventSource.Log.TrySNITraceEvent(nameof(SNISslStream), EventType.ERR, "Internal Exception occurred while writing data: {0}", args0: e?.Message);
SqlClientEventSource.Log.TrySNITraceEvent(nameof(SNINetworkStream), EventType.ERR, "Internal Exception occurred while writing data: {0}", args0: e?.Message);
throw;
}
finally