diff --git a/pkg/twitch/moderation.go b/pkg/twitch/moderation.go index 597224a..1479148 100644 --- a/pkg/twitch/moderation.go +++ b/pkg/twitch/moderation.go @@ -58,7 +58,7 @@ func (c *Client) BanUser(ctx context.Context, channel, username string, duration return errors.Wrap(err, "encoding payload") } - return errors.Wrap( + return errors.Wrapf( c.Request(ctx, ClientRequestOpts{ AuthType: AuthTypeBearerToken, Method: http.MethodPost, @@ -89,7 +89,7 @@ func (c *Client) BanUser(ctx context.Context, channel, username string, duration return ValidateStatus(opts, resp) }, }), - "executing ban request", + "executing ban request for %q in %q", username, channel, ) }