Skip to content

Commit a0c896b

Browse files
committed
Task 41895: Complete Step 4 PR
- Addressed Copilot comments from Step 3 PR.
1 parent 7a3d49a commit a0c896b

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/Microsoft.Data.SqlClient/src/Microsoft/Data/SqlClient/Connection/SqlConnectionInternal.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2841,7 +2841,10 @@ private SqlFedAuthToken GetFedAuthToken(SqlFedAuthInfo fedAuthInfo)
28412841
if (_timeout.IsExpired || _timeout.MillisecondsRemaining <= 0)
28422842
{
28432843
// No, so we throw.
2844-
SqlClientEventSource.Log.TryTraceEvent("<sc.SqlInternalConnectionTds.GetFedAuthToken error:> Attempt: {0}, Timeout: {1}", attempt, ex.FailureCode);
2844+
SqlClientEventSource.Log.TryTraceEvent(
2845+
"<sc.SqlInternalConnectionTds.GetFedAuthToken error:> Attempt: {0}, FailureCode: {1}",
2846+
attempt,
2847+
ex.FailureCode);
28452848
throw SQL.ActiveDirectoryTokenRetrievingTimeout(Enum.GetName(typeof(SqlAuthenticationMethod), ConnectionOptions.Authentication), ex.FailureCode, ex);
28462849
}
28472850

0 commit comments

Comments
 (0)