Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for LogErrBody (0.05 sec)

  1. cmd/metrics-v2.go

    	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		tc, ok := r.Context().Value(mcontext.ContextTraceKey).(*mcontext.TraceCtxt)
    		if ok {
    			tc.FuncName = funcName
    			tc.ResponseRecorder.LogErrBody = true
    		}
    
    		mfs, err := gatherers.Gather()
    		if err != nil && len(mfs) == 0 {
    			writeErrorResponseJSON(r.Context(), w, toAdminAPIErr(r.Context(), err), r.URL)
    			return
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 131.9K bytes
    - Viewed (0)
  2. cmd/object-handlers.go

    				} else {
    					writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    				}
    				return
    			}
    			nr := httptest.NewRecorder()
    			rw := xhttp.NewResponseRecorder(nr)
    			rw.LogErrBody = true
    			rw.LogAllBody = true
    			rreq.SelectParameters.Evaluate(rw)
    			rreq.SelectParameters.Close()
    			return
    		}
    		opts := ObjectOptions{
    			Transition: TransitionOptions{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
Back to top