Skip to content
Snippets Groups Projects
Commit 45ba64be authored by Lyuben Penkovski's avatar Lyuben Penkovski Committed by Yordan Kinkov
Browse files

Use zap logger instead of log package

parent ccac8214
No related branches found
No related tags found
No related merge requests found
......@@ -161,7 +161,7 @@ func main() {
if cfg.Auth.Enabled {
m, err := auth.NewMiddleware(cfg.Auth.JwkURL, cfg.Auth.RefreshInterval, httpClient)
if err != nil {
log.Fatalf("failed to create authentication middleware: %v", err)
logger.Fatal("failed to create authentication middleware", zap.Error(err))
}
infohubServer.Use(m.Handler())
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment