code: func WithPanicRecovery(handler http.Handler) http.Handler {
  	return withPanicRecovery(handler, func(w http.ResponseWriter, req *http.Request, err interface{}) {
  		http.Error(w, "This request caused apiserver to panic. Look in the logs for details.", http.StatusInternalServerError)
  		klog.Errorf("apiserver panic'd on %v %v", req.Method, req.RequestURI)
  	})
  }
docs: // WithPanicRecovery wraps an http Handler to recover and log panics.