Removed fmt.Println for linting

This commit is contained in:
Juan Font 2022-09-20 21:06:43 +00:00
parent 083d2a871c
commit e87b470996

View file

@ -31,7 +31,7 @@ var mockOidcCmd = &cobra.Command{
Run: func(cmd *cobra.Command, args []string) { Run: func(cmd *cobra.Command, args []string) {
err := mockOIDC() err := mockOIDC()
if err != nil { if err != nil {
fmt.Println(err) log.Error().Err(err).Msgf("Error running mock OIDC server")
os.Exit(1) os.Exit(1)
} }
}, },