Skip to content

Commit

Permalink
Include error when dex config unmarshal fails
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Dombroski <nick.m.dombroski@gmail.com>
  • Loading branch information
ndombroski committed Nov 18, 2022
1 parent 2173b87 commit f63b044
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 @@ -1576,7 +1576,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 f63b044

Please sign in to comment.