diff --git a/presigned_url.go b/presigned_url.go index 7c1b021..4837712 100644 --- a/presigned_url.go +++ b/presigned_url.go @@ -20,7 +20,8 @@ func (c Client) GetPresignedURL(ctx context.Context, bucket, object string, expi // get presignedURL, err := c.client.PresignedGetObject(context.Background(), bucket, object, expiry, reqParams) 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 "" }