Skip to content

Commit

Permalink
chore: Include error when dex config unmarshal fails (argoproj#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 and ashutosh16 committed Nov 23, 2022
1 parent b9e0277 commit a9ff28e
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 a9ff28e

Please sign in to comment.