mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-02-12 11:46:10 +02:00
Remove forgotten debug log
This commit is contained in:
parent
79af765015
commit
d572c7a273
@ -1,7 +1,6 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
|
||||||
http "net/http"
|
http "net/http"
|
||||||
|
|
||||||
"github.com/aws/aws-sdk-go/aws"
|
"github.com/aws/aws-sdk-go/aws"
|
||||||
@ -47,10 +46,9 @@ func (t s3Transport) RoundTrip(req *http.Request) (resp *http.Response, err erro
|
|||||||
|
|
||||||
s3req, _ := t.svc.GetObjectRequest(input)
|
s3req, _ := t.svc.GetObjectRequest(input)
|
||||||
|
|
||||||
s3err := s3req.Send()
|
if err := s3req.Send(); err != nil {
|
||||||
if s3err == nil { // resp is now filled
|
return nil, err
|
||||||
return s3req.HTTPResponse, nil
|
|
||||||
}
|
}
|
||||||
fmt.Println("s3 error", s3err)
|
|
||||||
return nil, s3err
|
return s3req.HTTPResponse, nil
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user