Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for UnhandledError (0.13 sec)

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

    	output = regexp.MustCompile(`^.* ([^[:space:]]*.go:[[:digit:]]*)\] `).ReplaceAllString(output, `xxx $1] `)
    	fmt.Print(output)
    
    	// Output:
    	// xxx runtime_stack_test.go:60] "test" err="fake error" logger="UnhandledError" request=42
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/runtime/runtime.go

    // determine how to log the error.
    //
    // If contextual logging is enabled, the default log output is equivalent to
    //
    //	logr.FromContext(ctx).WithName("UnhandledError").Error(err, msg, keysAndValues...)
    //
    // Without contextual logging, it is equivalent to:
    //
    //	klog.ErrorS(err, msg, keysAndValues...)
    //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/server/filters/timeout_test.go

    	}
    	// For the sake of simplicity and clarity this matches the full log line.
    	// This is not part of the Kubernetes API and could change.
    	if !strings.Contains(capturedOutput, `"Timeout or abort while handling" logger="UnhandledError" method="GET" URI="/" auditID=""`) {
    		t.Errorf("unexpected output captured actual = %v", capturedOutput)
    	}
    }
    
    type panicOnNonReuseTransport struct {
    	Transport   http.RoundTripper
    	gotConnSeen bool
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 18.4K bytes
    - Viewed (0)
Back to top