From 8fc9d8876c0558ae487111a35c939299d7ab86d0 Mon Sep 17 00:00:00 2001 From: Dao Hoang Son Date: Sun, 20 May 2018 21:45:29 +0700 Subject: [PATCH] Include image URL in transform error log message --- imageproxy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imageproxy.go b/imageproxy.go index dbb8a2d..b61f730 100644 --- a/imageproxy.go +++ b/imageproxy.go @@ -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 }