From dbac2f8063398cdddcabef1fe09d2a392ecc7949 Mon Sep 17 00:00:00 2001 From: Will Norris Date: Tue, 17 Mar 2015 23:47:43 -0700 Subject: [PATCH] log transform errors --- imageproxy.go | 1 + 1 file changed, 1 insertion(+) diff --git a/imageproxy.go b/imageproxy.go index 6baf532..a718af0 100644 --- a/imageproxy.go +++ b/imageproxy.go @@ -218,6 +218,7 @@ func (t *TransformingTransport) RoundTrip(req *http.Request) (*http.Response, er opt := ParseOptions(req.URL.Fragment) img, err := Transform(b, opt) if err != nil { + glog.Errorf("error transforming image: %v", err) img = b }