mirror of
https://github.com/diamondburned/arikawa.git
synced 2024-12-01 03:03:48 +00:00
httputil: Removed debug logs
This commit is contained in:
parent
6cbe95d2b3
commit
1aaa2cbfe2
|
@ -6,9 +6,7 @@ import (
|
||||||
"bytes"
|
"bytes"
|
||||||
"context"
|
"context"
|
||||||
"io"
|
"io"
|
||||||
"log"
|
|
||||||
"mime/multipart"
|
"mime/multipart"
|
||||||
"runtime/debug"
|
|
||||||
|
|
||||||
"github.com/pkg/errors"
|
"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.
|
// WithContext returns a client copy of the client with the given context.
|
||||||
func (c *Client) WithContext(ctx context.Context) *Client {
|
func (c *Client) WithContext(ctx context.Context) *Client {
|
||||||
log.Println("Setting request; stack trace:", string(debug.Stack()))
|
|
||||||
c = c.Copy()
|
c = c.Copy()
|
||||||
c.context = ctx
|
c.context = ctx
|
||||||
return c
|
return c
|
||||||
|
|
Loading…
Reference in a new issue