0
Fork 0
mirror of https://github.com/willnorris/imageproxy.git synced 2024-12-30 22:34:18 -05:00

Include image URL in transform error log message

This commit is contained in:
Dao Hoang Son 2018-05-20 21:45:29 +07:00 committed by Will Norris
parent 82ba3b6445
commit 8fc9d8876c

View file

@ -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
}