Skip to content

Commit

Permalink
chore: Include error when dex config unmarshal fails (#11349)
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Dombroski <nick.m.dombroski@gmail.com>

Signed-off-by: Nick Dombroski <nick.m.dombroski@gmail.com>
  • Loading branch information
ndombroski authored Nov 19, 2022
1 parent 7d24fe7 commit ea3215b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/settings/settings.go
Original file line number Diff line number Diff line change
Expand Up @@ -1578,7 +1578,7 @@ func (a *ArgoCDSettings) IsDexConfigured() bool {
}
dexCfg, err := UnmarshalDexConfig(a.DexConfig)
if err != nil {
log.Warn("invalid dex yaml config")
log.Warnf("invalid dex yaml config: %s", err.Error())
return false
}
return len(dexCfg) > 0
Expand Down

0 comments on commit ea3215b

Please sign in to comment.