Skip to content

Commit df60fa4

Browse files
author
Justin Fudally
committed
add error logging
1 parent 57cf5f3 commit df60fa4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

go/logic/throttler.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,7 @@ func (this *Throttler) collectThrottleHTTPStatus(firstThrottlingCollected chan<-
293293
if err != nil {
294294
// If not told to ignore errors, we'll throttle on HTTP connection issues
295295
if !this.migrationContext.IgnoreHTTPErrors {
296+
log.Errorf("errors occurred during HTTP throttle check: %+v", err)
296297
atomic.StoreInt64(&this.migrationContext.ThrottleHTTPStatusCode, int64(-1))
297298
}
298299
}

0 commit comments

Comments
 (0)