mirror of
https://github.com/willnorris/imageproxy.git
synced 2026-04-26 21:36:24 +02: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…
Add table
Add a link
Reference in a new issue