Skip to content

Commit

Permalink
Fix wrapped error on upload requests
Browse files Browse the repository at this point in the history
  • Loading branch information
Fizzadar committed Jul 19, 2024
1 parent ef6f441 commit 8338e63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion messagix/mercury.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func (c *Client) SendMercuryUploadRequest(ctx context.Context, threadID int64, m

_, respBody, err := c.MakeRequest(url, "POST", h, payload, types.NONE)
if err != nil {
return nil, fmt.Errorf("failed to send MercuryUploadRequest: %v", err)
return nil, fmt.Errorf("failed to send MercuryUploadRequest: %w", err)
}

resp, err := c.parseMercuryResponse(ctx, respBody)
Expand Down

0 comments on commit 8338e63

Please sign in to comment.