Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for LogPanic (0.09 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/runtime/runtime.go

    		fn(ctx, r)
    	}
    	for _, fn := range additionalHandlers {
    		fn(ctx, r)
    	}
    	if ReallyCrash {
    		// Actually proceed to panic.
    		panic(r)
    	}
    }
    
    // logPanic logs the caller tree when a panic occurs (except in the special case of http.ErrAbortHandler).
    func logPanic(ctx context.Context, r interface{}) {
    	if r == http.ErrAbortHandler {
    		// honor the http.ErrAbortHandler sentinel panic value:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/envoyfilter/rc_patch.go

    	patchContext networking.EnvoyFilter_PatchContext,
    	proxy *model.Proxy,
    	efw *model.EnvoyFilterWrapper,
    	routeConfiguration *route.RouteConfiguration,
    ) (out *route.RouteConfiguration) {
    	defer runtime.HandleCrash(runtime.LogPanic, func(any) {
    		IncrementEnvoyFilterErrorMetric(Route)
    		log.Errorf("route patch %s/%s caused panic, so the patches did not take effect", efw.Namespace, efw.Name)
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 13K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/envoyfilter/listener_patch.go

    func ApplyListenerPatches(
    	patchContext networking.EnvoyFilter_PatchContext,
    	efw *model.EnvoyFilterWrapper,
    	lis []*listener.Listener,
    	skipAdds bool,
    ) (out []*listener.Listener) {
    	defer runtime.HandleCrash(runtime.LogPanic, func(any) {
    		IncrementEnvoyFilterErrorMetric(Listener)
    		log.Errorf("listeners patch %s/%s caused panic, so the patches did not take effect", efw.Namespace, efw.Name)
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 15:39:29 UTC 2024
    - 26.7K bytes
    - Viewed (0)
Back to top