mirror of
https://github.com/diamondburned/arikawa.git
synced 2024-11-28 01:33:10 +00:00
httputil: Removed debug logs
This commit is contained in:
parent
6cbe95d2b3
commit
1aaa2cbfe2
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue