add get presigned url logs
This commit is contained in:
parent
7daf404b84
commit
3f8f898418
|
@ -20,7 +20,8 @@ func (c Client) GetPresignedURL(ctx context.Context, bucket, object string, expi
|
||||||
// get
|
// get
|
||||||
presignedURL, err := c.client.PresignedGetObject(context.Background(), bucket, object, expiry, reqParams)
|
presignedURL, err := c.client.PresignedGetObject(context.Background(), bucket, object, expiry, reqParams)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Println("[minio.GetPresignedURL] error:", err.Error())
|
fmt.Printf("[minio.GetPresignedURL][%s] get object %s error: %s \n", bucket, object, err.Error())
|
||||||
|
fmt.Printf("params %v \n", reqParams)
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue