diff --git a/cmd/authelia/main.go b/cmd/authelia/main.go index 8e1254200..a23688fb3 100644 --- a/cmd/authelia/main.go +++ b/cmd/authelia/main.go @@ -121,7 +121,7 @@ func startServer() { oidcProvider, err := oidc.NewOpenIDConnectProvider(config.IdentityProviders.OIDC) if err != nil { - panic(err) + logger.Fatalf("Error initializing OpenID Connect Provider: %+v", err) } providers := middlewares.Providers{