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:
parent
2b84ef01ed
commit
dbac2f8063
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue