Skip to content

Commit 57566a4

Browse files
committed
Richer log detail
1 parent a0f02f9 commit 57566a4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

connected_roundtripper.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ func (crt connectedRoundTripper) RoundTrip(req *http.Request) (*http.Response, e
6666

6767
err = crt.provider.ValidateResponse(resp)
6868
if err != nil {
69-
log.Debugf("Could not complete request: %v", err)
69+
log.Debugf("Response did not validate for origin %s -> %s for provider %s with error: %v", originHost, frontedHost, crt.front.getProviderID(), err)
7070
resp.Body.Close()
7171
crt.front.markWithResult(false)
7272
return nil, err

0 commit comments

Comments
 (0)