Skip to content

Commit

Permalink
[inc-29878] add log message for failed token authentication
Browse files Browse the repository at this point in the history
  • Loading branch information
twexler committed Aug 21, 2024
1 parent 5f7e956 commit 429b3b8
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,9 @@ func (a *cachedTokenAuthenticator) doAuthenticateToken(ctx context.Context, toke
buf = buf[:runtime.Stack(buf, false)]
klog.Errorf("%v\n%s", r, buf)
}
if record.err != nil {
klog.Errorf("error authenticating token: %v", record.err)
}
doneFetching(record.err == nil)
}()

Expand Down

0 comments on commit 429b3b8

Please sign in to comment.