Skip to content

Commit

Permalink
Fix recover call (#3804)
Browse files Browse the repository at this point in the history
  • Loading branch information
yycptt authored Jan 12, 2023
1 parent daff5f1 commit dc932a1
Show file tree
Hide file tree
Showing 2 changed files with 163 additions and 62 deletions.
6 changes: 2 additions & 4 deletions common/rpc/encryption/localStoreTlsProvider.go
Original file line number Diff line number Diff line change
Expand Up @@ -435,10 +435,8 @@ func (s *localStoreTlsProvider) timerCallback() {
}

func (s *localStoreTlsProvider) checkCertExpiration() {
defer func() {
var retError error
log.CapturePanic(s.logger, &retError)
}()
var retError error
defer log.CapturePanic(s.logger, &retError)

var errorTime time.Time
if s.settings.ExpirationChecks.ErrorWindow != 0 {
Expand Down
Loading

0 comments on commit dc932a1

Please sign in to comment.