all repos — honk @ 68d4a7708a1d3000940e959ecf4a6a24de790e6e

my fork of honk

only log first error if retrying during get
Ted Unangst tedu@tedunangst.com
Thu, 18 Jul 2019 15:13:10 -0400
commit

68d4a7708a1d3000940e959ecf4a6a24de790e6e

parent

02c8f5306cf7ea91e73ee9390b46c5518c5daf06

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M activity.goactivity.go

@@ -128,10 +128,10 @@ req = req.WithContext(ctx)

} resp, err := client.Do(req) if err != nil { - log.Printf("first get failed: %s", err) if timeout > 0 || !strings.Contains(err.Error(), "TLS handshake timeout") { return nil, err } + log.Printf("first get failed: %s", err) resp, err = client.Do(req) if err != nil { return nil, err