mirror of
https://github.com/samsonjs/retrogit.git
synced 2026-04-16 13:05:50 +00:00
Log more details for memcache errors.
This commit is contained in:
parent
f462e1917a
commit
4a45ada620
1 changed files with 2 additions and 1 deletions
|
|
@ -70,7 +70,8 @@ func (t *CachingTransport) RoundTrip(req *http.Request) (resp *http.Response, er
|
|||
Expiration: expiration,
|
||||
})
|
||||
if err != nil {
|
||||
t.Context.Errorf("Error setting cached response: %v", err)
|
||||
t.Context.Errorf("Error setting cached response for %s (cache key %s, %d bytes to cache): %v",
|
||||
req.URL, cacheKey, len(respBytes), err)
|
||||
}
|
||||
return resp, nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue