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

log transform errors

This commit is contained in:
Will Norris 2015-03-17 23:47:43 -07:00
parent 2b84ef01ed
commit dbac2f8063

View file

@ -218,6 +218,7 @@ func (t *TransformingTransport) RoundTrip(req *http.Request) (*http.Response, er
opt := ParseOptions(req.URL.Fragment) opt := ParseOptions(req.URL.Fragment)
img, err := Transform(b, opt) img, err := Transform(b, opt)
if err != nil { if err != nil {
glog.Errorf("error transforming image: %v", err)
img = b img = b
} }