Skip to content

Commit

Permalink
Include image URL in transform error log message
Browse files Browse the repository at this point in the history
  • Loading branch information
daohoangson authored and willnorris committed May 20, 2018
1 parent 82ba3b6 commit 8fc9d88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imageproxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ func (t *TransformingTransport) RoundTrip(req *http.Request) (*http.Response, er

img, err := Transform(b, opt)
if err != nil {
log.Printf("error transforming image: %v", err)
log.Printf("error transforming image %s: %v", u.String(), err)
img = b
}

Expand Down

0 comments on commit 8fc9d88

Please sign in to comment.