Skip to content

Commit

Permalink
Update TokenHandler.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
v1r3n committed Jan 2, 2024
1 parent 6bcbb3e commit 6b8c672
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Conductor/Client/Authentication/TokenHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ private string GetTokenFromServer(OrkesAuthenticationSettings authenticationSett
{
return tokenClient.GenerateToken(tokenRequest)._token;
}
catch (ApiException e)
catch (Exception e)
{
Console.WriteLine($"Failed to refresh authentication token, reason: {e}, request: {tokenRequest.ToJson()}");
Console.WriteLine($"Failed to refresh authentication token, attempt = {attempt}, reason: {e}, request: {tokenRequest.ToJson()}");
}
}
throw new Exception("Failed to refresh authentication token");
Expand Down

0 comments on commit 6b8c672

Please sign in to comment.