diff --git a/vendor/github.com/aws/aws-sdk-go/aws/request/request.go b/vendor/github.com/aws/aws-sdk-go/aws/request/request.go index 8f2eb3e43..2cf0e6d87 100644 --- a/vendor/github.com/aws/aws-sdk-go/aws/request/request.go +++ b/vendor/github.com/aws/aws-sdk-go/aws/request/request.go @@ -4,6 +4,7 @@ import ( "bytes" "fmt" "io" + "log" "net/http" "net/url" "reflect" @@ -565,7 +566,10 @@ type temporary interface { Temporary() bool } -func shouldRetryCancel(err error) bool { +func shouldRetryCancel(err error) (shouldRetry bool) { + defer func() { + log.Printf("shouldRetry returned %t with %#v", shouldRetry, err) + }() switch err := err.(type) { case awserr.Error: if err.Code() == CanceledErrorCode {