Skip to content

Commit

Permalink
Fixed object null reference
Browse files Browse the repository at this point in the history
  • Loading branch information
DavoudEshtehari committed Jun 2, 2020
1 parent 7dedda5 commit 57275ea
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1651,7 +1651,7 @@ TimeoutTimer timeout
// In any case, server should not have sent the routing info.
throw SQL.ROR_UnexpectedRoutingInfo(this);
}
SqlClientEventSource.Log.TraceEvent("<sc.SqlInternalConnectionTds.LoginWithFailover> Routed to {0}", RoutingInfo.ServerName);
SqlClientEventSource.Log.TraceEvent("<sc.SqlInternalConnectionTds.LoginWithFailover> Routed to {0}", RoutingInfo?.ServerName);
break; // leave the while loop -- we've successfully connected
}
catch (SqlException sqlex)
Expand Down

0 comments on commit 57275ea

Please sign in to comment.