Skip to content

Commit

Permalink
Add actionability to provider conf err (mesosphere#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
shaneutt authored Mar 11, 2020
1 parent 370a655 commit ffa3b03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ func (c *Config) SetOidcProvider() {
c.OIDCContext = context.Background()
provider, err := oidc.NewProvider(c.OIDCContext, c.ProviderUri)
if err != nil {
log.Fatal("failed to get provider configuration: %v", err)
log.Fatal("failed to get provider configuration for %s: %v (hint: make sure %s is accessible from the cluster)", c.ProviderUri, err, c.ProviderUri)
}
c.OIDCProvider = provider
}
Expand Down

0 comments on commit ffa3b03

Please sign in to comment.