Skip to content

Commit 5f7ade6

Browse files
committed
fix(testing): debugging gopenpgp error
Attempting to get the go-proton-api to continue to see what the body of the response actually contains.
1 parent 523eaf9 commit 5f7ade6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

client.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,9 @@ func (c *Client) doRes(ctx context.Context, fn func(*resty.Request) (*resty.Resp
149149
return nil, fmt.Errorf("failed to retry request: %w", err)
150150
}
151151
}
152+
153+
// Attempt to continue with what we have
154+
err = nil
152155
}
153156

154157
return res, err

0 commit comments

Comments
 (0)