1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-10-02 07:18:49 +00:00

httputil: Removed debug logs

This commit is contained in:
diamondburned 2020-11-14 15:36:18 -08:00
parent 6cbe95d2b3
commit 1aaa2cbfe2

View file

@ -6,9 +6,7 @@ import (
"bytes"
"context"
"io"
"log"
"mime/multipart"
"runtime/debug"
"github.com/pkg/errors"
@ -58,7 +56,6 @@ func (c *Client) Copy() *Client {
// WithContext returns a client copy of the client with the given context.
func (c *Client) WithContext(ctx context.Context) *Client {
log.Println("Setting request; stack trace:", string(debug.Stack()))
c = c.Copy()
c.context = ctx
return c