diff --git a/library/httpserver/httpserver.go b/library/httpserver/httpserver.go index 3b25fed7..434c7fc0 100644 --- a/library/httpserver/httpserver.go +++ b/library/httpserver/httpserver.go @@ -118,7 +118,7 @@ func StartOfflineHttpServer(srv *http.Server, cfg *configcenter.DefaultConfig) { ctx, cancel := context.WithTimeout(context.Background(), 1*time.Second) defer cancel() if err := srv.Shutdown(ctx); err != nil { - log.Fatal("Server Shutdown:", err) + logger.Fatal("Server Shutdown: %v", err) } select {