fix: prevent logging openid provider errors twice
This commit is contained in:
parent
4429ba2da1
commit
25ffa1bc2e
1 changed files with 1 additions and 0 deletions
|
@ -63,6 +63,7 @@ func GetAllProviders() (providers []*Provider, err error) {
|
|||
if err != nil {
|
||||
if provider != nil {
|
||||
log.Errorf("Error while getting openid provider %s: %s", provider.Name, err)
|
||||
continue
|
||||
}
|
||||
log.Errorf("Error while getting openid provider: %s", err)
|
||||
continue
|
||||
|
|
Loading…
Reference in a new issue