Skip to content

Commit

Permalink
Check error before RetryServerErrors
Browse files Browse the repository at this point in the history
  • Loading branch information
kisunji committed Jun 17, 2022
1 parent 7d5e414 commit 8ce9363
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helper_test.go
Expand Up @@ -53,10 +53,10 @@ type updateFeatureSetOptions struct {

func testClient(t *testing.T) *Client {
client, err := NewClient(nil)
client.RetryServerErrors(true) // because occasionally we get a 500 internal when deleting an organization's workspace
if err != nil {
t.Fatal(err)
}
client.RetryServerErrors(true) // because occasionally we get a 500 internal when deleting an organization's workspace

return client
}
Expand Down

0 comments on commit 8ce9363

Please sign in to comment.