File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525 417 : "Expectation failed" ,
2626 429 : "Too many requests" ,
2727 500 : "Internal server error" ,
28- - 1 : "Connection error" ,
28+ - 1 : "Connection error" ,
2929 }
3030 // See https://github.com/github/freno/blob/master/doc/http.md
3131 httpStatusFrenoMessages = map [int ]string {
@@ -295,7 +295,6 @@ func (this *Throttler) collectThrottleHTTPStatus(firstThrottlingCollected chan<-
295295 if err != nil {
296296 // If not told to ignore errors, we'll throttle on HTTP connection issues
297297 if ! this .migrationContext .IgnoreHTTPErrors {
298- log .Errorf ("errors occurred during HTTP throttle check: %+v" , err )
299298 atomic .StoreInt64 (& this .migrationContext .ThrottleHTTPStatusCode , int64 (- 1 ))
300299 }
301300 }
@@ -312,7 +311,6 @@ func (this *Throttler) collectThrottleHTTPStatus(firstThrottlingCollected chan<-
312311 if err != nil {
313312 // If not told to ignore errors, we'll throttle on HTTP connection issues
314313 if ! this .migrationContext .IgnoreHTTPErrors {
315- log .Errorf ("errors occurred during HTTP throttle check: %+v" , err )
316314 atomic .StoreInt64 (& this .migrationContext .ThrottleHTTPStatusCode , int64 (- 1 ))
317315 }
318316 }
You can’t perform that action at this time.
0 commit comments