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 7dedda5 commit 57275eaCopy full SHA for 57275ea
src/Microsoft.Data.SqlClient/netcore/src/Microsoft/Data/SqlClient/SqlInternalConnectionTds.cs
@@ -1651,7 +1651,7 @@ TimeoutTimer timeout
1651
// In any case, server should not have sent the routing info.
1652
throw SQL.ROR_UnexpectedRoutingInfo(this);
1653
}
1654
- SqlClientEventSource.Log.TraceEvent("<sc.SqlInternalConnectionTds.LoginWithFailover> Routed to {0}", RoutingInfo.ServerName);
+ SqlClientEventSource.Log.TraceEvent("<sc.SqlInternalConnectionTds.LoginWithFailover> Routed to {0}", RoutingInfo?.ServerName);
1655
break; // leave the while loop -- we've successfully connected
1656
1657
catch (SqlException sqlex)
0 commit comments