Skip to content

Commit

Permalink
More minor fix-ups to some error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
absurdfarce committed Jan 5, 2023
1 parent 4ab15ca commit 50c0318
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions astra/bundle.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,9 @@ func generateSecureBundleURLWithResponse(url, databaseID, token string, ctx cont
}
res, err := client.GenerateSecureBundleURLWithResponse(ctx, astra.DatabaseIdParam(databaseID))
if err != nil {
return nil, err
return nil, fmt.Errorf("error generating bundle urls: %v", err)
}

if res.StatusCode() != http.StatusOK {
return nil, fmt.Errorf("unable to generate bundle urls, failed with status code %d", res.StatusCode())
}
Expand Down

0 comments on commit 50c0318

Please sign in to comment.