mirror of
https://github.com/1f349/orchid.git
synced 2024-12-21 23:54:12 +00:00
Disable stopping on first failure
This commit is contained in:
parent
d0fc76cd73
commit
7f24d37e31
@ -214,8 +214,7 @@ func (s *Service) renewalRoutine(wg *sync.WaitGroup) {
|
||||
Logger.Info("Doing quick certificate check before starting...")
|
||||
err := s.renewalCheck()
|
||||
if err != nil {
|
||||
Logger.Info("Certificate check, should not error first try: ", "err", err)
|
||||
return
|
||||
Logger.Info("Certificate check, should not error first try", "err", err)
|
||||
}
|
||||
|
||||
// Logging or something
|
||||
@ -235,7 +234,7 @@ func (s *Service) renewalRoutine(wg *sync.WaitGroup) {
|
||||
// run a renewal check and log errors, but ignore ErrAlreadyRenewing
|
||||
err := s.renewalCheck()
|
||||
if err != nil && !errors.Is(err, ErrAlreadyRenewing) {
|
||||
Logger.Info("Certificate check, an error occurred: ", "err", err)
|
||||
Logger.Info("Certificate check, an error occurred", "err", err)
|
||||
}
|
||||
}()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user